package rebelsky.vec; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Some silly and fun tests. */ public class SillyTest extends TestCase { public void testOne() { // assertTrue: Determine whether the enclosed code returns true (ok), // or false (adds to our list of errors). // System.out.println("Look, I'm doing test one!"); this.assertTrue(true); } // testOne() public void testWon() { // assertTrue: Determine whether the enclosed code returns true (ok), // or false (adds to our list of errors). // System.out.println("Look, I'm doing test won!"); this.assertTrue(true); } // testWon() public void testFail() { this.assertTrue(false); } // testFail() public void testAgain() { this.testFail(); } public static TestSuite suite() { return new TestSuite(SillyTest.class); } // suite() } // class SillyTest