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

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

    public function testCombinationsExceptionNLessThanZero()
    {
        $this->setExpectedException('MathPHP\\Exception\\OutOfBoundsException');
        Combinatorics::combinations(-1, 2);
    }