outputLines = super.read(outputReader);
if (!super.isEqual(testOutputLines, outputLines)) {
throw new ComparisonFailedException("Test output is not equal to program output");
}
} catch (DataReadException e) {
throw new OutputReadException("Program output read error: " + e);
}
} finally {
FileOperator.close(outputReader);
FileOperator.close(testOutputReader);
}