Can anyone tell me if there is an assert in Junit api to check for greater than or equal to condition? I checked the api but did not find any such thing.. I want to check if count1 is greater than or equal to count2.. How should i do that??
Maneesh Godbole wrote:Please do take out time to CarefullyChooseOneForum You have posted in the GUI forum, which has nothing to do with your question.
This post has been moved to a more appropriate forum
I would use the keywordYou would do well to define the invariant for the class and put it into a methodThen at the end of each method which alters any fields, you put an assertionThen you execute the application with the -ea option