billing method in java programs with test cases
Answers
Answered by
2
Answer:
Eclipse:
- Click on New -> Java Project.
- Write down your project name and click on finish.
- Right click on your project. ...
- Write down your class name and click on finish. ...
- Click on File -> New -> JUnit Test Case.
- Check setUp() and click on finish. ...
- Click on OK.
- Here, I simply add 7 and 10.
- Write click on your test class in package explorer and click on Run as -> JUnit Test.
- This is the result of the test.
Similar questions
Math,
22 days ago
Math,
22 days ago
Chemistry,
22 days ago
Math,
1 month ago
Social Sciences,
9 months ago