A test driver for Item
- It is much simpler than InventoryTests.java but that is a good example
- Consider one test method for the constructors and accessors and toString
- Consider another test method for the mutators
- Consider another test method for the equals and compareTo. There should be a total of at least 7 calls (two for each of the equals <true, false>, and three for the compareTo [<, ==, >])
This topic: CenterForComputing
> WebHome >
Syllabi >
CSC121SylF2023 >
CSC121F2023Lab12 > CSC121F2023Lab12Hint3
Topic revision: r2 - 2023-06-26 - cathybareiss