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

testNonConstantSpacingException() public method

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