next up previous contents
Next: Testing INT_SLLIST Instantiation: Up: The CHAR LIST DATA Previous: Exercises:

Using Various SLLIST Objects:

The following code tests the various agents for the SLLIST classes; we will place the relevant output for each locally scoped test fragment immediately after the code for additional clarity. We will test code for the INT_LIST rather than the CHAR_LIST version, so that you can see some variety. The process of building the INT_LIST class from the CHAR_LIST class is straightforward and left as an exercise for you.



 

Jim Peterson
1999-04-22