### Question:
LatLonPoints { public static boolean betweenLon(double lon, double lonBeg, double lonEnd) { lon = lonNormalFrom(lon, lonBeg); lonEnd = lonNormalFrom(lon, lonEnd); return (lon <= lonEnd); }  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 testBetweenLon() { assertThat(LatLonPoints.betweenLon(90, 89, 91)).isTrue(); assertThat(LatLonPoints.betweenLon(90, 89, 91 - 360)).isTrue(); assertThat(LatLonPoints.betweenLon(90 - 360, 89, 91)).isTrue(); assertThat(LatLonPoints.betweenLon(90, 91, -180)).isFalse(); assertThat(LatLonPoints.betweenLon(90, 91, -360)).isFalse(); assertThat(LatLonPoints.betweenLon(90 - 360, 91, 89)).isFalse(); assertThat(LatLonPoints.betweenLon(180, 180, -180)).isTrue(); assertThat(LatLonPoints.betweenLon(-180, 180, -180)).isTrue(); assertThat(LatLonPoints.betweenLon(-179, 180, -180)).isFalse(); assertThat(LatLonPoints.betweenLon(-181, 180, -180)).isFalse(); assertThat(LatLonPoints.betweenLon(-179, 180, -178)).isTrue(); assertThat(LatLonPoints.betweenLon(-181, 180, -178)).isFalse(); }