These two test cases are designed to exercise the functionality of the stack class, using the various member functions available.

Next: Test Script