public void testDoubleValue() { Fraction a = Fraction.getFraction(5, 3); assertEquals(5.0/3.0, a.doubleValue(), 0.000000001); }