Posted by George on November 16, 2002 at 21:58:10:
I've done everything for Assignment 6 and I pass the first 3 test, except for test 4...
I get this...
START OF TEST 4:
Testing erase and erase_one functions (20 points).
Testing removal from empty bag (should have no effect) ...Test passed.
Inserting these: 8 6 10 1 7 10 15 3 13 2 5 11 14 4 12
Test passed.
Removing 0 (which is not in bag, so bag should be unchanged) ...Test passed.
Removing the 6 ...Test failed.
Test 4 failed.
what in the world is wrong....?I did exactly what the book asked for...