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]]);
}