MathPHP\NumericalAnalysis\Interpolation\ClampedCubicSplineTest::testNotCoordinatesException PHP Метод

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

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