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

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

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