public class BasicGraphModelTest extends TestSuite
Modifier and Type | Class and Description |
---|---|
static class |
BasicGraphModelTest.BasicGraphModelFactory
The factory for the BasicGraphModel class.
|
static interface |
BasicGraphModelTest.GraphFactory
The graph factory interface.
|
Constructor and Description |
---|
BasicGraphModelTest(TestHarness harness,
BasicGraphModelTest.GraphFactory factory)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] argv)
Create a default test harness and run all tests on it.
|
void |
runSuite()
Run the test.
|
void |
testBig()
Test a large (64 knode) graph.
|
void |
testEmpty()
Perform tests on an empty graph.
|
void |
testStarConnected()
Test a star-connected graph.
|
getFactory, getTestHarness, run, runAll, runTestCase, setFactory, setTestHarness
public BasicGraphModelTest(TestHarness harness, BasicGraphModelTest.GraphFactory factory)
public static void main(java.lang.String[] argv)
public void testEmpty()
public void testStarConnected()
public void testBig()