MathPHP\Probability\CombinatoricsTest::testDoubleFactorialExceptionNLessThanZero PHP Méthode

testDoubleFactorialExceptionNLessThanZero() public méthode

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