public virtual void TestCopy() { com.esri.core.geometry.Point pt = new com.esri.core.geometry.Point(); com.esri.core.geometry.Point copyPt = (com.esri.core.geometry.Point)pt.Copy(); NUnit.Framework.Assert.IsTrue(copyPt.Equals(pt)); pt.SetXY(11, 13); copyPt = (com.esri.core.geometry.Point)pt.Copy(); NUnit.Framework.Assert.IsTrue(copyPt.Equals(pt)); NUnit.Framework.Assert.IsTrue(copyPt.GetXY().IsEqual(new com.esri.core.geometry.Point2D(11, 13))); NUnit.Framework.Assert.IsTrue(copyPt.GetXY().Equals((object)new com.esri.core.geometry.Point2D(11, 13))); }