@Test public void testCompareValue() throws Exception { double one = 1.000000001d; double two = 1.000000002d; Assert.assertTrue(Compare.value(one,one)); Assert.assertTrue(Compare.value(two,two)); Assert.assertFalse(Compare.value(one,two)); }
public static boolean value(String one, String two) { return one.equals(two); }
Compare { public static boolean value(String one, String two) { return one.equals(two); } }
Compare { public static boolean value(String one, String two) { return one.equals(two); }  }
Compare { public static boolean value(String one, String two) { return one.equals(two); }  static boolean value(String one, String two); static boolean value(double one, double two); static boolean value(double one, double two, double tolerance); }
Compare { public static boolean value(String one, String two) { return one.equals(two); }  static boolean value(String one, String two); static boolean value(double one, double two); static boolean value(double one, double two, double tolerance);  }