diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/geocode/NominatimReverseGeocoderTest.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/org/traccar/geocode/NominatimReverseGeocoderTest.java b/test/org/traccar/geocode/NominatimReverseGeocoderTest.java new file mode 100644 index 000000000..74e03f271 --- /dev/null +++ b/test/org/traccar/geocode/NominatimReverseGeocoderTest.java @@ -0,0 +1,19 @@ +package org.traccar.geocode; + +import static org.junit.Assert.assertEquals; +import org.junit.Test; + +public class NominatimReverseGeocoderTest { + + @Test + public void testGetAddress() { + + ReverseGeocoder reverseGeocoder = new NominatimReverseGeocoder("http://nominatim.openstreetmap.org/reverse"); + + /*assertEquals( + "ulitsa Morskiye dubki, 2, Lisy Nos, Saint Petersburg, Russia, 197755", + reverseGeocoder.getAddress(60.0, 30.0));*/ + + } + +} |