### Question:
AngleMath { public static double deg2rad(final double deg) { return DEG_TO_RAD * deg; } 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 testDeg2Rad() { assertThat(AngleMath.deg2rad(-360)).isCloseTo(-AngleMath.PI_TWO, withinPercentage(0.1)); assertThat(AngleMath.deg2rad(-180)).isCloseTo(-AngleMath.PI, withinPercentage(0.1)); assertThat(AngleMath.deg2rad(-90)).isCloseTo(-AngleMath.PI_HALF, withinPercentage(0.1)); assertThat(AngleMath.deg2rad(0)).isCloseTo(0.0, withinPercentage(0.1)); assertThat(AngleMath.deg2rad(90)).isCloseTo(AngleMath.PI_HALF, withinPercentage(0.1)); assertThat(AngleMath.deg2rad(180)).isCloseTo(AngleMath.PI, withinPercentage(0.1)); assertThat(AngleMath.deg2rad(270)).isCloseTo(AngleMath.PI + AngleMath.PI_HALF, withinPercentage(0.1)); assertThat(AngleMath.deg2rad(360)).isCloseTo(AngleMath.PI_TWO, withinPercentage(0.1)); assertThat(AngleMath.deg2rad(450)).isCloseTo(AngleMath.PI_TWO + AngleMath.PI_HALF, withinPercentage(0.1)); }