Beispiel #1
0
 public void TestGetCoordinate()
 {
     double lat = 3.7;
     double lon = 7.3;
     Place place = new Place();
     place.Latitude = lat;
     place.Longitude = lon;
     LatLngCoord coordinate = place.GetCoordinate();
     Assert.IsNotNull(coordinate);
     Assert.AreEqual(lat, coordinate.Latitude);
     Assert.AreEqual(lon, coordinate.Longitude);
 }