|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--javautils.graph.templates.BfsTemplateTest
A [JUnit]
test for BfsTemplate
.
Field Summary | |
static java.lang.String |
CLOTHING_GRAPH_BFS
|
static java.lang.String |
RSTUVWXY_GRAPH_BFS
|
Fields inherited from interface javautils.graph.testing.TestGraphConstants |
ABCDEFGH_GRAPH, ABCDEFGHIJ_GRAPH, CLOTHING_GRAPH, RSTUVWXY_GRAPH, STUVWXYZ_GRAPH, UVWXYZ_GRAPH |
Constructor Summary | |
BfsTemplateTest()
|
Method Summary | |
static java.lang.String |
bfsTranscript(Graph g)
|
void |
testBfsOnCLOTHING()
Tests that the BfsTemplate -method gives the expected
transcript on the TestGraphConstants.CLOTHING_GRAPH . |
void |
testBfsOnRSTUVWXY()
Tests that the BfsTemplate -method gives the expected
transcript on the TestGraphConstants.RSTUVWXY_GRAPH . |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String RSTUVWXY_GRAPH_BFS
public static final java.lang.String CLOTHING_GRAPH_BFS
Constructor Detail |
public BfsTemplateTest()
Method Detail |
public void testBfsOnRSTUVWXY()
Tests that the BfsTemplate
-method gives the expected
transcript on the TestGraphConstants.RSTUVWXY_GRAPH
.
public void testBfsOnCLOTHING()
Tests that the BfsTemplate
-method gives the expected
transcript on the TestGraphConstants.CLOTHING_GRAPH
.
public static java.lang.String bfsTranscript(Graph g)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |