aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/geocode/GoogleReverseGeocoderTest.java
blob: 75e4dad7253c7a531a2cabfb4ff0bb9ce7a8464a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.traccar.geocode;

import static org.junit.Assert.assertEquals;
import org.junit.Test;

public class GoogleReverseGeocoderTest {

    @Test
    public void testGetAddress() {

        ReverseGeocoder reverseGeocoder = new GoogleReverseGeocoder();

        assertEquals(
                "Novotsentral'naya ulitsa, Saint Petersburg, Russia",
                reverseGeocoder.getAddress(60.0, 30.0));

    }

}