net.walend.measured.test
Class ShortestGEDistancesTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--net.walend.toolkit.junit.TestCase
|
+--net.walend.measured.test.ShortestGEDistancesTest
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- FloydWarshallGEDistancesTest, JITGEDistancesTest, JohnsonGEDistancesTest
- public abstract class ShortestGEDistancesTest
- extends net.walend.toolkit.junit.TestCase
- Author:
- David Walend dfw1@cornell.edu
Fields inherited from class junit.framework.TestCase |
|
Methods inherited from class net.walend.toolkit.junit.TestCase |
fail, fail |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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 |
ShortestGEDistancesTest
public ShortestGEDistancesTest(java.lang.String testName)
testGetLength
public void testGetLength(ShortestGEDistances shortestDistances,
java.lang.Object head,
java.lang.Object tail,
int expected,
boolean nodeMissing)
createShortestGEDistances
protected abstract ShortestGEDistances createShortestGEDistances(IndexedGEDigraph digraph)
throws GENegativeWeightCycleException
GENegativeWeightCycleException
createShortestGEDistances
protected abstract ShortestGEDistances createShortestGEDistances(IndexedGEDigraph digraph,
GEPathMeter pathMeter)
throws GENegativeWeightCycleException
GENegativeWeightCycleException
createGEDigraph
protected abstract IndexedMutableGEDigraph createGEDigraph(int size)
testOnThreeNodeDigraph
public void testOnThreeNodeDigraph()
testOnThreeNodeDigraphWithNegativeCycle
public void testOnThreeNodeDigraphWithNegativeCycle()
testOnSevenNodeDigraph
public void testOnSevenNodeDigraph()
scaleUpTest
protected void scaleUpTest(int size)
testScaleUpTo1
public void testScaleUpTo1()
testScaleUpTo2
public void testScaleUpTo2()
testScaleUpTo4
public void testScaleUpTo4()
testScaleUpTo8
public void testScaleUpTo8()
testScaleUpTo16
public void testScaleUpTo16()
testScaleUpTo18
public void testScaleUpTo18()
testScaleUpTo24
public void testScaleUpTo24()
testScaleUpTo32
public void testScaleUpTo32()
testScaleUpTo36
public void testScaleUpTo36()
testScaleUpTo40
public void testScaleUpTo40()
testScaleUpTo44
public void testScaleUpTo44()
testScaleUpTo48
public void testScaleUpTo48()
testScaleUpTo64
public void testScaleUpTo64()
testScaleUpTo70
public void testScaleUpTo70()
Copyright (c) 2001, 2002, David Walend