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

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

    public function testFallingFactorialExceptionNLessThanZero()
    {
        $this->setExpectedException('MathPHP\\Exception\\OutOfBoundsException');
        Combinatorics::fallingFactorial(5, -1);
    }