beberlei / assert

Thin assertion library for use in libraries and business-model
Other
2.41k stars 186 forks source link

method greaterThan really checks greaterOrEqualThan #313

Closed marionek111 closed 3 years ago

marionek111 commented 3 years ago

Method greaterThan is using '$value <= $limit' comparation instead of '$value < $limit', and method greaterOrEqualThan is using '$value < $limit' comparation instead of '$value <= $limit'. Also, the error message does not match the applied condition.