test constructor receiv point test constructor spline fig messag spline start equal spline start point incorrect start spline point equal spline correct number point spline point length equal spline end point incorrect end spline point 