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
English,
2 months ago
Math,
2 months ago
English,
2 months ago
Math,
3 months ago
Social Sciences,
11 months ago