public class FigureTest extends TestSuite
Modifier and Type | Class and Description |
---|---|
static interface |
FigureTest.FigureFactory
The figure factory interface
|
class |
FigureTest.RegionTestCase
Region testing test case.
|
Constructor and Description |
---|
FigureTest(TestHarness harness,
FigureTest.FigureFactory factory)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
runSuite()
runSuite()
|
void |
testHit()
Test hit.
|
void |
testIntersects()
Test intersection.
|
void |
testPaint()
Test painting.
|
void |
testProperties()
Perform the simple set/get tests.
|
void |
testTransform()
Test how transforms affect the figure
|
void |
testTranslate()
Test how translates affect the figure
|
getFactory, getTestHarness, run, runAll, runTestCase, setFactory, setTestHarness
public FigureTest(TestHarness harness, FigureTest.FigureFactory factory)
public void testProperties()
public void testHit()
public void testIntersects()
public void testPaint()
public void testTransform()
public void testTranslate()