**This is an old revision of the document!**

The web is fill of resources to understanding diff files. Here are the two top hits from a simple search:

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 to debug 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.1475098641.txt.gz · Last modified: 2016/09/28 21:37 by egm
Back to top
CC Attribution-Share Alike 4.0 International
chimeric.de = 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