Figure 3 shows a better approach that gives you more flexibility by creating a base test class for your tests. As you write more tests, you can put common functions and data in the base test class.
Figure 4 shows the class hierarchy for the TSampleObject test classes. In addition to creating an organized structure for your tests, you can use a simple naming convention to clarify which test classes relate to the classes you are testing. For example, the test class for TSampleObject that tests the string functions is called TSampleObjectStringTest. The test class for the MaxLength member functions is TSampleObjectLengthTest.