public void PositionTest() { Point startPoint = new Point(0, 0, 0); Point startControlPoint = new Point(1.3, 3, 0); Point endControlPoint = new Point(6, 4, 0); Point endPoint = new Point(8, 1.6, 0); CubicBezier bezier = new CubicBezier(startPoint, endPoint, startControlPoint, endControlPoint); Assert.AreEqual(new Point(2.8016, 2.5504, 0), bezier.Position(0.4)); }