@Test
public void testDistanceLondonNewYork() {

    double[] newYork = service.getCoordinates(NEW_YORK_IP);
    double[] london = service.getCoordinates(LONDON_IP);
    double distanceLondonToNewYorkKM = service.distance(london, newYork) / 1000;
    double distanceNewYorkToLondonKM = service.distance(newYork, london) / 1000;
    assertEquals(DISTANCE_LONDON_NEW_YORK_KM, distanceLondonToNewYorkKM, DISTANCE_COMPARISON_DELTA_KM);
    assertEquals(DISTANCE_LONDON_NEW_YORK_KM, distanceNewYorkToLondonKM, DISTANCE_COMPARISON_DELTA_KM);
}