The web is fill of resources that help to understand diff files. Here are the two top hits:

In general, the student output is the left side (<) and the expected output is the right side (>). If unsure, then look at the diff command used as it is included in the diff output.

The diff output is not going to enable the student to recreate the input, but it gives insight to tests the student should consider in debugging the code. Ultimately, it is the student's responsibility to test and debug code.

As a student, be creative and try to break the code. If a student uses the pass-off process as a test driver for debug, then it is going to be a long semester full of a lot of down time waiting for pass-off attempts and a high level of frustration.

cs-236/how-to-read-a-diff-file.txt · Last modified: 2016/09/29 09:09 by egm
Back to top
CC Attribution-Share Alike 4.0 International = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0