### Question:
UtilMath { public static boolean isBetween(int value, int min, int max) { return value >= min && value <= max; } private  UtilMath(); static double getRound(double speed, double value); static boolean isBetween(int value, int min, int max); static boolean isBetween(double value, double min, double max); static int clamp(int value, int min, int max); static long clamp(long value, long min, long max); static double clamp(double value, double min, double max); static double curveValue(double value, double dest, double speed); static double getDistance(double x1, double y1, double x2, double y2); static double getDistance(Localizable a, Localizable b); static double getDistance(double x1, double y1, double x2, double y2, int w2, int h2); static double getDistance(double x1, double y1, int w1, int h1, double x2, double y2, int w2, int h2); static int wrap(int value, int min, int max); static int wrapAngle(int angle); static double wrapDouble(double value, double min, double max); static int getRounded(double value, int round); static int getRoundedC(double value, int round); static double cos(double degree); static double sin(double degree); static int getSign(double value);  }### Answer:
@Test void testIsBetween() { assertTrue(UtilMath.isBetween(0, 0, 2)); assertTrue(UtilMath.isBetween(1, 0, 2)); assertTrue(UtilMath.isBetween(2, 0, 2)); assertFalse(UtilMath.isBetween(3, 0, 2)); assertFalse(UtilMath.isBetween(-1, 0, 2)); assertFalse(UtilMath.isBetween(1, 2, 1)); assertTrue(UtilMath.isBetween(0.0, 0.0, 0.2)); assertTrue(UtilMath.isBetween(0.1, 0.0, 0.2)); assertTrue(UtilMath.isBetween(0.2, 0.0, 0.2)); assertFalse(UtilMath.isBetween(0.3, 0.0, 0.2)); assertFalse(UtilMath.isBetween(-0.1, 0.0, 0.2)); assertFalse(UtilMath.isBetween(0.1, 0.2, 0.1)); }