Question: Create a driver (or two) to test your pair of classes: 1. Be sure to test for the usual checklist of items (construction, assignment, destruction,

Create a driver (or two) to test your pair of classes:

1. Be sure to test for the usual checklist of items (construction, assignment, destruction, the public interface, upcasting (if applicable), and use of a virtual function).

2. (Optional) If you selected two classes related using association, create a separate driver to follow a typical scenario detailing the interaction of the two classes.

3. Be sure to include testing of exception handling in one of your test drivers.

Step by Step Solution

3.33 Rating (150 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related A Practical In Depth Guide C++ Questions!