Interface IteratorTestCase

    • Method Detail

      • test

        IteratorTestOutput test​(IteratorTestInput testInput)
        Run the implementation's test against the given input.
        Parameters:
        testInput - The input to test.
        Returns:
        The output of the test with the input.
      • verify

        boolean verify​(IteratorTestOutput expected,
                       IteratorTestOutput actual)
        Compute whether or not the expected and actual output is a success or failure for this implementation.
        Parameters:
        expected - The expected output from the user.
        actual - The actual output from the test
        Returns:
        True if the test case passes, false if it doesn't.