public virtual void TestRemovePoint()
		{
			com.esri.core.geometry.Polygon poly = new com.esri.core.geometry.Polygon();
			poly.StartPath(10, 1);
			poly.LineTo(15, 20);
			poly.LineTo(30, 14);
			poly.LineTo(60, 144);
			poly.StartPath(10, 1);
			poly.LineTo(15, 20);
			poly.LineTo(300, 14);
			poly.LineTo(314, 217);
			poly.LineTo(60, 144);
			poly.StartPath(10, 1);
			poly.LineTo(125, 20);
			poly.LineTo(30, 14);
			poly.LineTo(600, 144);
			poly.RemovePoint(1, 1);
			com.esri.core.geometry.Point pt;
			pt = poly.GetPoint(4);
			NUnit.Framework.Assert.IsTrue(pt.GetX() == 10 && pt.GetY() == 1);
			pt = poly.GetPoint(5);
			NUnit.Framework.Assert.IsTrue(pt.GetX() == 300 && pt.GetY() == 14);
			NUnit.Framework.Assert.IsTrue(poly.GetPointCount() == 12);
			NUnit.Framework.Assert.IsTrue(poly.GetPathSize(0) == 4);
			NUnit.Framework.Assert.IsTrue(poly.GetPathSize(1) == 4);
			NUnit.Framework.Assert.IsTrue(poly.GetPathSize(2) == 4);
		}
		public virtual void TestBug1()
		{
			com.esri.core.geometry.Polygon pg = new com.esri.core.geometry.Polygon();
			pg.StartPath(-130, 40);
			for (int i = 0; i < 1000; i++)
			{
				pg.LineTo(-70, 40);
			}
			for (int i_1 = 0; i_1 < 999; i_1++)
			{
				pg.RemovePoint(0, pg.GetPointCount() - 1);
			}
			pg.LineTo(-70, 40);
		}