100%(2)2 out of 2 people found this document helpful
This preview shows page 1 out of 1 page.
Maximiliano DiazStore Backend – Part 1Driver Program - Design1.Once the class declarations and definitions are created, create a driver program that creates instances of the classes with the expected parameters. This is to test the constructor.2.Then, check the getters functions by implementing them to see if the values you gave to create the instance are outputted.3.Since the code has certain test cases that throw runtime errors, a try/catch block needs to be added to the driver to test those cases.4.Next, the setters functions should be tested. To test these functions, the corresponding getters function for that setters function needs to be used. The getters function is used before and after using the setters function in order to find out the setters function works