MathPHP\Probability\CombinatoricsTest::testFactorialBoundsException PHP Method

testFactorialBoundsException() public method

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