### Question:
GeoUtils { public static double normalizeLongitude(double lng) { double result = lng; while (result < -180) { result += 360; } while (result > 180) { result -= 360; } return result; } private  GeoUtils(); static GeoCoordinate getMidpoint(Collection<? extends GeoCoordinate> coordinates); static GeoCoordinate getCenterOfMinimumDistance(Collection<? extends GeoCoordinate> coordinates); static double parseDms(String dmsString); static double approximateDistance(double lat1, double lng1, double lat2, double lng2); static double approximateDistance(GeoCoordinate c1, GeoCoordinate c2); static double computeDistance(double lat1, double lng1, double lat2, double lng2); static boolean isValidCoordinateRange(double lat, double lng); static void validateCoordinateRange(double lat, double lng); static double normalizeLatitude(double lat); static double normalizeLongitude(double lng); static double getLargestDistance(Collection<? extends GeoCoordinate> coordinates); static final String DMS; static final double EARTH_RADIUS_KM; static final double EARTH_CIRCUMFERENCE_KM; static final double EARTH_MAX_DISTANCE_KM; static final Distance<GeoCoordinate> DISTANCE; }### Answer:
@Test public void testNormalizeLongitude() { assertEquals(-180, GeoUtils.normalizeLongitude(-180), 0); assertEquals(180, GeoUtils.normalizeLongitude(180), 0); assertEquals(0, GeoUtils.normalizeLongitude(0), 0); assertEquals(-175, GeoUtils.normalizeLongitude(185), 0); assertEquals(175, GeoUtils.normalizeLongitude(-185), 0); }