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