### Question:
WGS84Util { public static double normalizeLatitude(double latitude) { double asRad = Math.toRadians(latitude); if (asRad > Math.PI / 2) { return Math.toDegrees(2 * Math.PI - asRad) % 90; } else if (-Math.PI / 2 > asRad) { return Math.toDegrees(-2 * Math.PI - asRad) % 90; } return latitude; }  static double shortestDistanceBetween(Point a, Point b); static double getLongitudeDelta(double latitude, double distance); static double getLatitudeDelta(double distance); static double normalizeLongitude(double longitude); static double normalizeLatitude(double latitude); static final String EPSG_4326; }### Answer:
@Test public void shouldNormlizeLatitudesBiggerThan90Degrees() { double toNormalize = 91.4; double normalized = WGS84Util.normalizeLatitude(toNormalize); assertThat(normalized, closeTo(88.6, ERROR_DELTA)); }
@Test public void shouldNormlizeLatitudesSmallerThanMinus90Degrees() { double toNormalize = -91.4; double normalized = WGS84Util.normalizeLatitude(toNormalize); assertThat(normalized, closeTo(-88.6, ERROR_DELTA)); }
@Test public void shouldNotChangeZeroLatitudeDegrees() { double toNormalize = 0; double normalized = WGS84Util.normalizeLatitude(toNormalize); assertThat(normalized, closeTo(0, ERROR_DELTA)); }