+ 3
Help needed in Java and Junit
I need help with testing a program .... can anyone modify the code in class “saleMachineTest” so it tests the saleMachine class by creating multiple salemachines as shown in class “saleMachineTest” https://code.sololearn.com/cbt3rpI5GWxc/?ref=app
4 odpowiedzi
+ 2
Thank you for your response ......
okay .... lets say we remove the junit library .. how would one test this program, for example using a class with the ‘Main’ method . can you please show me how i would run this code. /*copy&paste the saleMachine class, you can delete the testSaleMachine class and the junit imports .... then maybe create a ‘Main’ class that’ll run the program*/
+ 1
Ayyy....Thanks for your help, much appreciated.