diff options
Diffstat (limited to 'docs/teaching/exercises/tests/Test2b.java')
-rw-r--r-- | docs/teaching/exercises/tests/Test2b.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/teaching/exercises/tests/Test2b.java b/docs/teaching/exercises/tests/Test2b.java index 822c8de74..be53f09f3 100644 --- a/docs/teaching/exercises/tests/Test2b.java +++ b/docs/teaching/exercises/tests/Test2b.java @@ -17,8 +17,6 @@ import figures.*; import junit.framework.*; public class Test2b extends TestCase { - public Test2b(String name) { super(name); } - public static void main(String[] args) { junit.textui.TestRunner.run(Test.class); junit.textui.TestRunner.run(Test2b.class); @@ -40,7 +38,7 @@ public class Test2b extends TestCase { Group g = new Group(p1); Point p2 = new Point(20, 200); - g.add(p2); + g.add(p2); } } |