Reversing a Linked List
Classes:
Because the program takes from the input, we can make
"test suites", files which define, in a sense, what exactly
we mean when we say that our program works. Although we may
have a sense that our program always works, on all inputs,
strictly, it is only correct to say that it has worked on
certain inputs. The test_i.txt files are those inputs that
we know the program works. Hopefully, all inputs are shown
to work by extrapolating from the behaviour of the small
number of test files.
Test files: