MathPHP\Probability\CombinatoricsTest::testPermutationsBoundsException PHP Метод

testPermutationsBoundsException() публичный Метод

    public function testPermutationsBoundsException()
    {
        $this->setExpectedException('MathPHP\\Exception\\OutOfBoundsException');
        Combinatorics::permutations(-1);
    }