public void XmlSerializationAndDeserializationWorks()
        {
            var target = Ellipsoids.Wgs84;
            var actual = SerializationTester <EarthEllipsoid> .XmlSerializeAndDeserialize(target);

            Assert.AreEqual(target, actual);
        }
Ejemplo n.º 2
0
        public void XmlSerializationAndDeserializationWorks()
        {
            var target = new CircularSurface(Position.FromDegrees(58.1, 11.9), Distance.FromMeters(5));
            var actual = SerializationTester <CircularSurface> .XmlSerializeAndDeserialize(target);

            Assert.AreEqual(target, actual);
        }
        public void XmlSerializationAndDeserializationWorks()
        {
            var target = MapProjections.Sweref99TM;
            var actual = SerializationTester <MapProjection> .XmlSerializeAndDeserialize(target);

            Assert.AreEqual(target, actual);
        }
Ejemplo n.º 4
0
        public void XmlSerializationAndDeserializationWorks()
        {
            var target = new GridCoordinate(123.4, 987.6);
            var actual = SerializationTester <GridCoordinate> .XmlSerializeAndDeserialize(target);

            Assert.AreEqual(target, actual);
        }
        public void XmlSerializationAndDeserializationWorks()
        {
            var target = TestPolygonalSurface;
            var actual = SerializationTester <PolygonalSurface> .XmlSerializeAndDeserialize(target);

            Assert.AreEqual(target, actual);
        }