-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New matchers to compare easily a number with another one #235
Comments
@baudoliver7 thx and also let's note that those matcher should implement |
@0crat in |
@victornoel Why not |
@andreoss yes, that would make sense, or |
@0crat status |
@victornoel This is what I know about this job in C63314D6Z, as in §32: |
We notice many times that we need to compare a number with another one. Currently, outside of static methods of Hamcrest (
greaterThan
,lessThan
), the more easy way to do this is to useVerifies
like this :It would be very useful to introduce some new matchers to make this kind of assertions more expressive :
IsGreaterThan
IsGreaterThanOrEqualTo
IsLessThan
IsLessThanOrEqualTo
The text was updated successfully, but these errors were encountered: