+ 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

16th Apr 2019, 10:03 AM
Paxton
Paxton  - avatar
4 Answers
+ 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*/
23rd Apr 2019, 11:09 AM
Paxton
Paxton  - avatar
+ 1
Ayyy....Thanks for your help, much appreciated.
23rd Apr 2019, 5:47 PM
Paxton
Paxton  - avatar