Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Junit Testcase Array problem

 
Zaid khan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tried making Junit 4 testcase for arrays.Which means that My expected values varies from 0 to 100 and they will be tested with actual value 10.It shows me that test passes for 1 to 10 but fail from 11 to 100.I need help to make working.Here is my TestcaseRobot.java

 
Campbell Ritchie
Sheriff
Pie
Posts: 48940
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We can't work out what is going wrong from such scanty detail. What goes wrong? What is each method supposed to do?
 
Bert Bates
author
Sheriff
Posts: 8898
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
intermediate level...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic