public virtual void TestInsertPoint()
		{
			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);
			com.esri.core.geometry.Point pt = new com.esri.core.geometry.Point(-33, -34);
			poly.InsertPoint(1, 1, 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() == -33 && pt.GetY() == -34);
			pt = poly.GetPoint(6);
			NUnit.Framework.Assert.IsTrue(pt.GetX() == 15 && pt.GetY() == 20);
			NUnit.Framework.Assert.IsTrue(poly.GetPointCount() == 14);
			NUnit.Framework.Assert.IsTrue(poly.GetPathSize(1) == 6);
			NUnit.Framework.Assert.IsTrue(poly.GetPathSize(2) == 4);
			NUnit.Framework.Assert.IsTrue(poly.GetPathCount() == 3);
		}
		public virtual void TestInsertPath()
		{
			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(12, 2);
			poly.LineTo(16, 21);
			poly.LineTo(301, 15);
			poly.LineTo(61, 145);
			poly.StartPath(13, 3);
			poly.LineTo(126, 22);
			poly.LineTo(31, 16);
			poly.LineTo(601, 146);
			// poly.setAttribute(enum_value2(VertexDescription, Semantics, Z), 0, 0,
			// 2);
			// poly.setAttribute(enum_value2(VertexDescription, Semantics, Z), 1, 0,
			// 3);
			// poly.setAttribute(enum_value2(VertexDescription, Semantics, Z), 2, 0,
			// 5);
			// poly.setAttribute(enum_value2(VertexDescription, Semantics, Z), 3, 0,
			// 7);
			// poly.setAttribute(enum_value2(VertexDescription, Semantics, Z), 4, 0,
			// 11);
			// poly.setAttribute(enum_value2(VertexDescription, Semantics, Z), 5, 0,
			// 13);
			// poly.setAttribute(enum_value2(VertexDescription, Semantics, Z), 6, 0,
			// 17);
			// poly.setAttribute(enum_value2(VertexDescription, Semantics, Z), 7, 0,
			// 19);
			// poly.setAttribute(enum_value2(VertexDescription, Semantics, Z), 8, 0,
			// 23);
			// poly.setAttribute(enum_value2(VertexDescription, Semantics, Z), 9, 0,
			// 29);
			// poly.setAttribute(enum_value2(VertexDescription, Semantics, Z), 10,
			// 0, 31);
			// poly.setAttribute(enum_value2(VertexDescription, Semantics, Z), 11,
			// 0, 37);
			com.esri.core.geometry.Polygon poly2 = new com.esri.core.geometry.Polygon();
			poly2.StartPath(12, 2);
			poly2.LineTo(16, 21);
			poly2.LineTo(301, 15);
			poly2.LineTo(61, 145);
			poly.InsertPath(0, poly2, 0, false);
			NUnit.Framework.Assert.IsTrue(poly.GetPathCount() == 4);
			NUnit.Framework.Assert.IsTrue(poly.GetPathStart(0) == 0);
			NUnit.Framework.Assert.IsTrue(poly.GetPathStart(1) == 4);
			NUnit.Framework.Assert.IsTrue(poly.GetPathStart(2) == 8);
			NUnit.Framework.Assert.IsTrue(poly.GetPathStart(3) == 12);
			NUnit.Framework.Assert.IsTrue(poly.GetPointCount() == 16);
			com.esri.core.geometry.Point2D pt0 = poly.GetXY(0);
			NUnit.Framework.Assert.IsTrue(pt0.x == 12 && pt0.y == 2);
			com.esri.core.geometry.Point2D pt1 = poly.GetXY(1);
			NUnit.Framework.Assert.IsTrue(pt1.x == 61 && pt1.y == 145);
			com.esri.core.geometry.Point2D pt2 = poly.GetXY(2);
			NUnit.Framework.Assert.IsTrue(pt2.x == 301 && pt2.y == 15);
			com.esri.core.geometry.Point2D pt3 = poly.GetXY(3);
			NUnit.Framework.Assert.IsTrue(pt3.x == 16 && pt3.y == 21);
			com.esri.core.geometry.Point pt2d = new com.esri.core.geometry.Point(-27, -27);
			poly.InsertPoint(1, 0, pt2d);
			NUnit.Framework.Assert.IsTrue(poly.GetPathCount() == 4);
			NUnit.Framework.Assert.IsTrue(poly.GetPathStart(0) == 0);
			NUnit.Framework.Assert.IsTrue(poly.GetPathStart(1) == 4);
			NUnit.Framework.Assert.IsTrue(poly.GetPathStart(2) == 9);
			NUnit.Framework.Assert.IsTrue(poly.GetPathStart(3) == 13);
			NUnit.Framework.Assert.IsTrue(poly.GetPointCount() == 17);
		}