MathPHP\NumericalAnalysis\Interpolation\InterpolationTest::testNotCoordinatesException PHP Method

testNotCoordinatesException() public method

    public function testNotCoordinatesException()
    {
        // An array doesn't have precisely two numbers (coordinates)
        $this->setExpectedException('MathPHP\\Exception\\BadDataException');
        Interpolation::validate([[0, 0], [1, 2, 3], [2, 2]]);
    }