### Question:
LocalizerUtil { public static Map.Entry<Double, Double> convertLatLngDeltaToMeters(LocTuple point1, LocTuple point2) { double deltaLon = point2.getLongitude() - point1.getLongitude(); double deltaLat = point2.getLatitude() - point1.getLatitude(); double deltaMetersX = deltaLon * ONE_DEG_LON_TO_METERS_PITTSBURGH; double deltaMetersY = deltaLat * ONE_DEG_LAT_TO_METERS; double deltaMeters = Math.sqrt(deltaMetersX * deltaMetersX + deltaMetersY * deltaMetersY); double heading = Math.atan2(deltaLat, deltaLon); return new Map.Entry<Double, Double>() { @Override public Double getKey() { return deltaMeters; } @Override public Double getValue() { return heading; } @Override public Double setValue(Double value) { return null; } }; }  static Map.Entry<Double, Double> convertLatLngDeltaToMeters(LocTuple point1, LocTuple point2); static LocTuple convertMetersToLatLng(double meters, double heading); static double convertMetersToLat(double meters); static double convertMetersToLon(double meters); static double convertLatToMeters(double lat); static double convertLonToMeters(double lon); static UTMTuple deg2UTM(LocTuple loc); static LocTuple utm2Deg(UTMTuple loc);  }### Answer:
@Test public void testConvertLatLngDeltaToMeters() { LocTuple pitt = new LocTuple(LAT_PITTSBURGH, LON_PITTSBURGH); LocTuple oneLonRight = new LocTuple(LAT_PITTSBURGH, LON_PITTSBURGH + 1); LocTuple diagonalRightAndUp = new LocTuple(LAT_PITTSBURGH + 1, LON_PITTSBURGH + 1); Map.Entry<Double, Double> deltaAndHeading = LocalizerUtil.convertLatLngDeltaToMeters(pitt, oneLonRight); assertEquals(deltaAndHeading.getKey(), CALCED_DIST_ONE_DEG_METERS, 500); assertEquals(deltaAndHeading.getValue(), 0.0, 0.0000001); deltaAndHeading = LocalizerUtil.convertLatLngDeltaToMeters(pitt, diagonalRightAndUp); assertEquals(DIAG_DIST_METERS, deltaAndHeading.getKey(), 500); assertEquals(PI / 4, deltaAndHeading.getValue(), 0.01); }