|
===========================================================================
= Cantata++ Test Harness v1.0 (c) 1996 IPL Information Processing Ltd =
=-------------------------------------------------------------------------=
= Test Description: stack =
= Test Started: Wed Feb 04 17:04:59 1998 =
===========================================================================
------------------------- Start Test: Empty stack
Test the default constructor, is_empty() and pop on an empty stack
Start Exception Block:
PASSED: Check: ? stack1.is_empty() = true
value: 1
PASSED: Expected Exception: stack::empty_pop
End Exception Block
------------------------- End Test: Empty stack
------------------------- Start Test: Push/pop
Test the push and pop member functions
Start Exception Block:
>> FAILED: Check: ? stack1.is_empty() = false
actual: 1
expected: 0
>> FAILED: Unexpected Exception:
End Exception Block
------------------------- End Test: Push/pop
===========================================================================
= Test Finished: Wed Feb 04 17:04:59 1998 =
=-------------------------------------------------------------------------=
= Test Script Checks Checks Checks Call Seq TEST =
= Case Errors Failed Passed Warned Failures RESULT =
=-------------------------------------------------------------------------=
= Empty stack 0 0 2 0 0 PASS =
= Push/pop 0 2 0 0 0 >> FAIL =
= Other 0 0 0 0 0 PASS =
=-------------------------------------------------------------------------=
= TOTALS 0 2 2 0 0 >> FAIL =
===========================================================================
|