| Whilst the public interface was tested in the
previous test, there is no indication that the full functionality of the stack
class has been checked. To test this, Cantata++s coverage analysis facilities can be
used integrated with the current test script. In this example directives are added
which will cause the test to fail if any stack member functions are unused and warn of any
statements and/or decisions left unexecuted. |