public void Simplify() { var points = new List <Vector3>() { Vector3.Origin, new Vector3(5.0, 1.0), new Vector3(7.0, 0.0), new Vector3(10.0, 2.0), new Vector3(15.0, 0.0), new Vector3(20.0, 2.0), new Vector3(25.0, 0.0), }; points = Shaper.Simplify(points, 5.0); Assert.Equal(6, points.Count); }