public async Task Should_Return_Lat_And_Long() { var geocoder = new GoogleGeocodeService(); var result = await geocoder.GeocodeLocation("Atlanta, GA"); Assert.NotNull(result.Latitude); Assert.NotNull(result.Longitude); }
public async Task Should_Return_Default_Values_For_Lat_And_Long() { var geocoder = new GoogleGeocodeService(); var result = await geocoder.GeocodeLocation("dfgfdgfdgfdgdfgdfgdfg"); Assert.Equal(0, result.Latitude); Assert.Equal(0, result.Longitude); }