### Question:
AngleCalc { String azimuth2compassPoint( double azimuth ) { String cp; double slice = 360.0 / 16; if (azimuth < slice) { cp = "N"; } else if (azimuth < slice * 3) { cp = "NE"; } else if (azimuth < slice * 5) { cp = "E"; } else if (azimuth < slice * 7) { cp = "SE"; } else if (azimuth < slice * 9) { cp = "S"; } else if (azimuth < slice * 11) { cp = "SW"; } else if (azimuth < slice * 13) { cp = "W"; } else if (azimuth < slice * 15) { cp = "NW"; } else { cp = "N"; } return cp; }  double calcOrientation( double lat1, double lon1, double lat2, double lon2 ); double convertAzimuth2xaxisAngle(double azimuth); double alignOrientation( double baseOrientation, double orientation );  }### Answer:
@Test public void testAzimuthCompassPoint() { assertEquals("S", ac.azimuth2compassPoint(199)); }