Beispiel #1
0
        public void GeoJson_deserialization_works_feature()
        {
            var obj = TestingContext.GetObjectFromJson <FeatureCollection>("ng_earthquakes");

            obj.ShouldNotBe(null);
            Debug.WriteLine(obj.GetType().Name);
        }
Beispiel #2
0
        public void GeoJson_deserialization_works(string fileName)
        {
            var obj = TestingContext.GetObjectFromJson <IGeometryObject>(fileName);

            obj.ShouldNotBe(null);
            Debug.WriteLine(obj.GetType().Name);
        }