Test Case Practice
In this lab you will be given a sample class reqresenting a square matrix. Your job is come up with a series of unit tests that will either illustrate the ways in which this class is broken, or to prove to the TA conclusively that it works.
Start with asking yourself:
- What are the class invariants?
- What are the extreme or weird cases?
- What are some good general cases?