TEST2 of sequence_exam


[ Follow Ups ] [ Post Followup ] [ CCNY CSc 212 Messages ] [ Help ]

Posted by chanthee on October 05, 2002 at 19:11:09:

Does anyone know the possible reasons why my TEST2 in sequence_exam produced the following error:

Any help hits???

START OF TEST 2:
Testing situations where the cursor goes off the sequence (20 points).
Using attach to put 20 and 30 in the sequence, and then calling
advance, so that is_item should return false ... passed.
Inserting 10, which should go at the sequence's front.
Then calling advance three times to run cursor off the sequence ... passed.
Calling attach to put the numbers 40, 50, 60 ...300 at the sequence's end.
Now I will test that the sequence has 10, 20, 30, ...300.
Test failed to find 10
Test 2 failed.
END OF TEST 2.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:


[ Follow Ups ] [ Post Followup ] [ CCNY CSc 212 Messages ] [ Help ]