next up previous
Next: An Extended Example: Lists Up: The Design Recipe Previous: Body

Test

For each major class C or composite hierarchy of classes in a Java program the programmer should write a test class TestC including a test method that evaluates each publicly visible operation of C on appropriate sample data values (both instances of C and the method arguments). This process is described in much more detail in Section 1.8.



Corky Cartwright 2004-02-05