diff options
author | jhugunin <jhugunin> | 2003-08-27 20:35:31 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-08-27 20:35:31 +0000 |
commit | e81b7e76f0df1119ee8663e9960d53d71a61a243 (patch) | |
tree | df74946b8dbdd8c30cc33fbe3af8cb0fb2076add /docs/teaching/exercises/tests/Test4a.java | |
parent | 9ae0cfecd5fa4cc15c30c2231ba5b7de2a86e882 (diff) | |
download | aspectj-e81b7e76f0df1119ee8663e9960d53d71a61a243.tar.gz aspectj-e81b7e76f0df1119ee8663e9960d53d71a61a243.zip |
revised section 4 (untested)
Diffstat (limited to 'docs/teaching/exercises/tests/Test4a.java')
-rw-r--r-- | docs/teaching/exercises/tests/Test4a.java | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/docs/teaching/exercises/tests/Test4a.java b/docs/teaching/exercises/tests/Test4a.java index 7e8f0f234..f3644765f 100644 --- a/docs/teaching/exercises/tests/Test4a.java +++ b/docs/teaching/exercises/tests/Test4a.java @@ -18,21 +18,11 @@ import java.awt.Rectangle; import junit.framework.*; public class Test4a extends Test { - Rectangle wholeCanvas = - new Rectangle(FigureElement.MIN_VALUE, FigureElement.MIN_VALUE, - FigureElement.MAX_VALUE, FigureElement.MAX_VALUE); - - public Test4a(String name) { super(name); } - public static void main(String[] args) { junit.textui.TestRunner.run(Test4a.class); } - public void setUp() { - super.setUp(); - } - public void testGroupBounds() { - assertEquals(g.getBounds(), wholeCanvas); + assertEquals(g.getBounds(), FigureElement.MAX_BOUNDS); } } |