JUnit-Tests

http://www.junit.org/index.htm

Eclipse $ \to$ New $ \to$ JUnit Test Case (Version 4)

import static org.junit.Assert.*;
public class Check {
    @Test
    public void testStep() {
        assertEquals (Coll.step(7), 22);
    }
}

Run as $ \to$ JUnit Test Case



Johannes Waldmann 2009-01-12