view
Class PolygonFactory.UnitTester2
java.lang.Object
view.PolygonFactory.UnitTester
view.PolygonFactory.UnitTester2
- Enclosing class:
- PolygonFactory
class PolygonFactory.UnitTester2
- extends PolygonFactory.UnitTester
Extends the tests.
|
Method Summary |
void |
test(String[] arg)
This test draws all Polygons found in the file of the first
argument on a 220x220 pixel sized canvas. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolygonFactory.UnitTester2
PolygonFactory.UnitTester2()
test
public void test(String[] arg)
- This test draws all Polygons found in the file of the first
argument on a 220x220 pixel sized canvas. After each polygon, the
translation is increased in x by 20 points. After a total increase
of 200 points, a new row is started by increasing the translation
in y by 20 pixel (and restetting the x translation to 20).
- Overrides:
test in class PolygonFactory.UnitTester