AirDistanceRouter implements Router, DistanceCalculator, Region { @Override public BoundingBox getBounds() { return new BoundingBox(Coordinates.valueOf(-90, -180), Coordinates.valueOf(90, 180)); }  @Override long travelTimeMillis(Coordinates from, Coordinates to); @Override List<Coordinates> getPath(Coordinates from, Coordinates to); @Override BoundingBox getBounds();  }
@Test void bounding_box_is_the_whole_globe() { BoundingBox bounds = new AirDistanceRouter().getBounds(); assertThat(bounds.getSouthWest()).isEqualTo(Coordinates.valueOf(-90, -180)); assertThat(bounds.getNorthEast()).isEqualTo(Coordinates.valueOf(90, 180)); }