Junit - How to test main method that takes a user input and prints a result accordingly?

前端 未结 0 437
既然无缘
既然无缘 2020-12-21 05:20

I have a calculator that takes input and prints result. For example: Input to scanner: 2+3+4= Prints: 9.00

I want to test this main method in Junit. This is how far I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题