public virtual void TestIsSimplePolylineSinglePointInPath() { // Single point in path com.esri.core.geometry.Polyline poly = new com.esri.core.geometry.Polyline(); poly.StartPath(0, 0); poly.LineTo(100, 100); poly.RemovePoint(0, 1); bool result = simplifyOp.IsSimpleAsFeature(poly, sr4326, false, null, null); NUnit.Framework.Assert.IsTrue(!result); com.esri.core.geometry.Polyline polyS; result = simplifyOp.IsSimpleAsFeature(polyS = (com.esri.core.geometry.Polyline)simplifyOp.Execute(poly, sr4326, false, null), sr4326, false, null, null); NUnit.Framework.Assert.IsTrue(result); NUnit.Framework.Assert.IsTrue(polyS.IsEmpty()); }