aspose file tools*
The moose likes Java in General and the fly likes Junit Testcase Array problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Junit Testcase Array problem" Watch "Junit Testcase Array problem" New topic
Author

Junit Testcase Array problem

Zaid khan
Greenhorn

Joined: Dec 07, 2008
Posts: 4
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

Joined: Oct 13, 2005
Posts: 39418
    
  28
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

Joined: Oct 14, 2002
Posts: 8829
    
    5
intermediate level...


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Junit Testcase Array problem