test.edu.uci.ics.jung.graph.impl
Class BasicGraphTest
java.lang.Object
TestCase
test.edu.uci.ics.jung.graph.impl.BasicGraphTest
- Direct Known Subclasses:
- BasicGraphTest.BasicGraphSparseTest
public abstract class BasicGraphTest
- extends TestCase
- Author:
- danyelf
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicGraphTest
public BasicGraphTest(String string)
- Parameters:
string
-
suite
public static Test suite()
setUp
public void setUp()
tearDown
public void tearDown()
getVertex
public abstract Vertex getVertex()
testGraph
protected final void testGraph(Graph sag,
int edges,
int vertices)
testPredecessorConsistency
public final void testPredecessorConsistency()
testPredecessorConsistencyDirected
public final void testPredecessorConsistencyDirected()
testSimpleUndirectedGraph
public final void testSimpleUndirectedGraph()
testSimpleDirectedGraph
public final void testSimpleDirectedGraph()
- Incrementally creates a graph( 3, 3 ) and checks that the edges add up
correctly.
testSimpleDirectedGraphEdges
public final void testSimpleDirectedGraphEdges()
testGoodEdgesOpposite
public final void testGoodEdgesOpposite()
testBadEdgesParallel
public final void testBadEdgesParallel()
testEdgesOkSelfLoop
public final void testEdgesOkSelfLoop()
testGraphAppropriateness
public final void testGraphAppropriateness()
testParallelEdgeAdd
public final void testParallelEdgeAdd()
testFindEdgeSet
public void testFindEdgeSet()
testFindEdge
public void testFindEdge()
testDirectedGraph
public void testDirectedGraph()
testUndirectedGraph
public void testUndirectedGraph()
testEquality
public void testEquality()
- make sure that vertices and edges are equal to themselves,
even if they're not in a graph.