public static void ClassInitialize() { _locationSvc = new GoogleLocationService(); _coordZapopan = _locationSvc.GetLatLongFromAddress("Zapopan").ToGeoCoord(); _coordLondon = _locationSvc.GetLatLongFromAddress("London").ToGeoCoord(); }
public static void ClassInitialize() { if (Common.VersionInfo[0] < 3 || Common.VersionInfo[1] < 2) { Assert.Ignore($"Geospatial tests ignored for version {string.Join(".", Common.VersionInfo)}\n"); } _locationSvc = new GoogleLocationService(); _coordZapopan = _locationSvc.GetLatLongFromAddress("Zapopan").ToGeoCoord(); _coordLondon = _locationSvc.GetLatLongFromAddress("London").ToGeoCoord(); }