### Question:
MathUtil { public static double deadZone(double d, double thresh) { return (Math.abs(d) < thresh) ? 0 : d; }  static double angleWrap(double angle); static double clamp(double d); static double clampAbove(double d, double threshold); static double cutOffBelow(double d, double threshold); static double powRetainingSign(double d, double power); static double deadZone(double d, double thresh); static Pose relativeOdometryUpdate(Pose fieldPose, Pose robotPoseDelta); static boolean approxEquals(double d1, double d2); static Point lineSegmentCircleIntersection(Point ul1, Point ul2, Point o, double radius); static boolean between(double r1, double r2, double val, double threshold); static final double EPSILON; }### Answer:
@Test void deadZone() { assertEquals(MathUtil.deadZone(0.02, 0.2), 0); assertEquals(MathUtil.deadZone(0.3, 0.2), 0.3); assertEquals(MathUtil.deadZone(-0.02, 0.2), 0); assertEquals(MathUtil.deadZone(-0.3, 0.2), -0.3); }