StudentTestUtils
Utility class for tests written by students.
Properties
Link copied to clipboard
The PrintStream to use for test error output.
Link copied to clipboard
The PrintStream to use for test output.
Link copied to clipboard
The list of all test results created by the student tests.
Functions
Link copied to clipboard
Prints a summary of the test results to S_TEST_OUT.
Link copied to clipboard
Checks that the given
expected
value is equal to the given actual
value.Link copied to clipboard
Checks if the given task throws an exception.
Link copied to clipboard
Checks that the given
actual
value is in the range [min, max]
.