Another Test

    public void testAddition2() {
        
        Fraction half = new Fraction(1, 2);
        Fraction fourth = new Fraction(1, 2);
        
        Fraction actual = half.add(fourth);
        Fraction expected = new Fraction(1, 1);
        assertEquals(expected, actual);
        
    }
But this passes too!
Previous | Next | Top | Cafe con Leche

Copyright 2005-2007 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified October 4, 2006