| The results file shows that all of the checks made
produced the outputs expected. (Note that since the stack in the second test case is now
filled with three nodes by the corrected push() function no exception is thrown on
popping the three values and these tests are also run and passed). The correct
functionality of the constructor, is_empty(), push() and pop() member
functions of the stack class is thus confirmed. Note: You can scroll through the above window to see the whole results file. |