ps6.test
Class PublicProgADTTest
java.lang.Object
ps6.test.PublicProgADTTest
public class PublicProgADTTest
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INPUT_PROMPTS
public static final String INPUT_PROMPTS
- See Also:
- Constant Field Values
END_PROMPT
public static final String END_PROMPT
- See Also:
- Constant Field Values
EOL
public static String EOL
THRESHOLD
public static final double THRESHOLD
- Threshold for comparing double values
- See Also:
- Constant Field Values
PublicProgADTTest
public PublicProgADTTest(TestRecord test)
ProgTestCase
public void ProgTestCase()
- Runs the test against getDirections(Address x 2, RouteDirections)
getTestParameters
public static List<Object[]> getTestParameters()
- Constructs a list of parameters for each instance of PublicProgADTTest.
The test runner Parameterized will instantiate a PublicProgADTTest for every Object[] in the
returned list. Since this call to the constructor is done through reflection, we can (and must)
pass around opaque arrays of objects here.
assertIteratedEquals
protected static void assertIteratedEquals(String message,
Iterator<?> expected,
Iterator<?> actual)