### Question:
AISUtil { public static float rot(int turn) { switch (turn) { case 0: return 0; case 127: return 10; case -127: return -10; case -128: return Float.NaN; default: float f = turn; f = f / 4.733F; return Math.signum(f) * f * f; } }  static float rot(int turn); static int rot(float turn); static String makeString(CharSequence bin); static String makeString(CharSequence bin, int offset, int length);  }### Answer:
@Test public void testRot() { for (int r=-128;r<128;r++) { float rot = AISUtil.rot(r); int rot1 = AISUtil.rot(rot); assertEquals(r, rot1); } }