A test driver for Item

26 Jun 2023 - 13:38 | Version 1 |
  • 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 site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
This website is using cookies. More info. That's Fine