public function testNotAFunctionException()
{
// Two arrays share the same first number (x-component)
$this->setExpectedException('MathPHP\\Exception\\BadDataException');
ClampedCubicSpline::validateSpline([[0, 0, 1], [0, 5, 0], [1, 1, 3]]);
}