MathPHP\NumericalAnalysis\Interpolation\ClampedCubicSplineTest::testNotEnoughArraysException PHP Méthode

testNotEnoughArraysException() public méthode

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