@Test
public void testDistanceSydneyNewYork() {

    double[] sydney = service.getCoordinates(SYDNEY_IP);
    double[] newYork = service.getCoordinates(NEW_YORK_IP);
    double distanceSydneyToNewYorkKM = service.distance(sydney, newYork) / 1000;
    double distanceNewYorkToSydneyKM = service.distance(newYork, sydney) / 1000;
    assertEquals(DISTANCE_SYDNEY_NEW_YORK_KM, distanceSydneyToNewYorkKM, DISTANCE_COMPARISON_DELTA_KM);
    assertEquals(DISTANCE_SYDNEY_NEW_YORK_KM, distanceNewYorkToSydneyKM, DISTANCE_COMPARISON_DELTA_KM);
}