### Question:
AngleMath { public static double rad2deg(final double rad) { return RAD_TO_DEG * rad; } private  AngleMath(); static double normalizeAngle(final double angle); static double difference(final double angle1, final double angle2); static double cos(final double number); static double sin(final double number); static double tan(final double number); static double deg2rad(final double deg); static double rad2deg(final double rad); static double mirror(final double angle); static final double PI; static final double PI_TWO; static final double PI_HALF; static final double PI_QUART; static final double DEG_180_IN_RAD; static final double DEG_090_IN_RAD; static final double DEG_045_IN_RAD; }### Answer:
@Test public void testRad2Deg() { assertThat(AngleMath.rad2deg(-AngleMath.PI_TWO)).isCloseTo(-360, withinPercentage(0.1)); assertThat(AngleMath.rad2deg(-AngleMath.PI)).isCloseTo(-180, withinPercentage(0.1)); assertThat(AngleMath.rad2deg(-AngleMath.PI_HALF)).isCloseTo(-90, withinPercentage(0.1)); assertThat(AngleMath.rad2deg(0.0)).isCloseTo(0, withinPercentage(0.1)); assertThat(AngleMath.rad2deg(AngleMath.PI_HALF)).isCloseTo(90, withinPercentage(0.1)); assertThat(AngleMath.rad2deg(AngleMath.PI)).isCloseTo(180, withinPercentage(0.1)); assertThat(AngleMath.rad2deg(AngleMath.PI + AngleMath.PI_HALF)).isCloseTo(270, withinPercentage(0.1)); assertThat(AngleMath.rad2deg(AngleMath.PI_TWO)).isCloseTo(360, withinPercentage(0.1)); assertThat(AngleMath.rad2deg(AngleMath.PI_TWO + AngleMath.PI_HALF)).isCloseTo(450, withinPercentage(0.1)); }