ps6.test
Class PublicProgADTTest

java.lang.Object
  extended by ps6.test.PublicProgADTTest

public class PublicProgADTTest
extends Object


Field Summary
static String END_PROMPT
           
static String EOL
           
static String INPUT_PROMPTS
           
static double THRESHOLD
          Threshold for comparing double values
 
Constructor Summary
PublicProgADTTest(TestRecord test)
           
 
Method Summary
protected static void assertIteratedEquals(String message, Iterator<?> expected, Iterator<?> actual)
           
static List<Object[]> getTestParameters()
          Constructs a list of parameters for each instance of PublicProgADTTest.
 void ProgTestCase()
          Runs the test against getDirections(Address x 2, RouteDirections)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

PublicProgADTTest

public PublicProgADTTest(TestRecord test)
Method Detail

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)