Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: FEST-Assert 1.4
-
Component/s: Assert
-
Labels:None
-
Number of attachments :
Description
I've not found a nice way to assert that a value is one of a list of correct possibilities.
perhaps for example
IntAssert isIn(Collection<Integer> list);
and the corresponding
IntAssert isNotIn(Collection<Integer> list);
I'd rather not use isGreaterThan() etc, as I don't want to rely on the values being sequential.