How to construct a JUnit testing for a method that uses some random in it

前端 未结 0 1470
野趣味
野趣味 2020-11-21 16:18

I have a method that uses a set of numbers that is randomly picked (exmple, choosing 10 random num from a 1-100). I need to "use a seed" in order to create a "

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