### Question:
LatLonPoints { public static double latNormal(double lat) { if (lat < -90.) { return -90.; } else { return Math.min(lat, 90.); } }  static boolean betweenLon(double lon, double lonBeg, double lonEnd); static double lonNormal360(double lon); static double lonNormal(double lon, double center); static double lonNormalFrom(double lon, double start); static double lonNormal(double lon); static double lonDiff(double lon1, double lon2); static double latNormal(double lat); static String latToString(double lat, int ndec); static String lonToString(double lon, int ndec); static boolean isInfinite(ProjectionPoint pt); static double range180(double lon); static String toString(LatLonPoint pt, int sigDigits); static String toString(ProjectionPoint pt, int sigDigits);  }### Answer:
@Test public void testLatNormal() { assertThat(LatLonPoints.latNormal(89.5)).isEqualTo(89.5); assertThat(LatLonPoints.latNormal(92)).isEqualTo(90); assertThat(LatLonPoints.latNormal(-99)).isEqualTo(-90); }