NumberUtils { public static boolean equal(double d1, double d2) { return Math.abs(d1 - d2) < EPSILON; }  static boolean equal(double d1, double d2);  }
@Test public void testEqualDoubles() { Assert.assertTrue(NumberUtils.equal(3.14, 3.14)); }
@Test public void testUnequalDoubles() { Assert.assertFalse(NumberUtils.equal(3.14, 3.15)); }