diff --git a/test/geocoder_test.rb b/test/geocoder_test.rb index 68b8f844eea161883b5e66e9ce314da1156730a8..782806ef84b4d341658ca6fe153d4c5a09699706 100644 --- a/test/geocoder_test.rb +++ b/test/geocoder_test.rb @@ -76,6 +76,14 @@ class GeocoderTest < Test::Unit::TestCase assert_equal v.distance_from(30, -94), v.distance_to(30, -94) end + def test_coordinates_method + assert_not_nil Geocoder.coordinates("Madison Square Garden, New York, NY") + end + + def test_address_method + assert_not_nil Geocoder.address(40.750354, -73.993371) + end + # --- general ---