MathPHP\NumericalAnalysis\NumericalDifferentiation\NumericalDifferentiationTest::testNotEnoughArraysException PHP Method

testNotEnoughArraysException() public method

    public function testNotEnoughArraysException()
    {
        // There are not enough arrays in the input
        $this->setExpectedException('MathPHP\\Exception\\BadDataException');
        NumericalDifferentiation::validate([[0, 0]], $degree = 3);
    }