Subject: hw5 test cases clarification
From: John Sung (john_j_sung@yahoo.com)
Date: Wed Feb 20 2002 - 17:25:07 EST
Part 1:
Test your functions on three different A-objects using
code like:
This implies that you only need to have 3 different A
objects, i.e. 3 different object graphs rooted at some
A object. So, it shouldn't be too hard to create 3
different object graphs using the constructor method.
But for from a testing point of view, only one test
case that exercises all the paths for the traversal
will be sufficient. You don't really gain much more
after that. I won't take off points if you only have 1
test case.
For Part2:
Have only one test case that exercises all the paths
for the traversal.
For part3:
You should be able to recreate the test cases from
parts 1 and 2 pretty easily.
For part4:
Write 2 valid sentences for the class dictionary that
exercises most of the rules in the class dictionary.
John
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
This archive was generated by hypermail 2b28 : Wed Feb 20 2002 - 17:25:12 EST