MathPHP\NumericalAnalysis\NumericalIntegration\BoolesRuleTest::testNonConstantSpacingException PHP Method

testNonConstantSpacingException() public method

    public function testNonConstantSpacingException()
    {
        // There is not constant spacing between points
        $this->setExpectedException('\\Exception');
        BoolesRule::approximate([[0, 0], [3, 3], [2, 2], [4, 4], [5, 5]]);
    }