Exemplo n.º 1
0
        public void Convert_WorksIfNoConversionHasToBeDone()
        {
            GeoPoint geoPoint = GeoPoint.Parse(0.0, 0.0, Ellipsoid.WGS84);

            Assert.IsInstanceOfType(geoPoint.ConvertTo(GeoConstants.DEFAULT_ELLIPSOID), typeof(GeoPoint));
            Assert.AreEqual(geoPoint.ConvertTo(GeoConstants.DEFAULT_ELLIPSOID).ReferenceEllipsoid, GeoConstants.DEFAULT_ELLIPSOID);
        }