package junit;
import pass.Division;
import junit.framework.TestCase;
public class DivisionTest extends TestCase {
private Division division;
protected void setUp () throws Exception {
super.setUp ();
division = new Division ();
}
protected void tearDown () throws Exception {
super.tearDown ();
}
public void testDivide () {
this.assertEquals(division.divide (0, 42), 0);
this.assertEquals(division.divide (42, 1), 42);
this.assertEquals(division.divide (127, 3), 42);
}
}