PATCH: Full boundary checking in 'should_ensure_value_in_range'
Reported by Earle Clubb | January 10th, 2008 @ 02:05 PM
should_ensure_value_in_range only tests outside the range, not at the valid endpoints. In other words, tests are only performed to check for failures at min-1 and max+1. The attached patch adds tests for success at min and max.
Comments and changes to this ticket
-

-
Tammer Saleh January 21st, 2008 @ 09:34 AM
- → State changed from new to resolved
Thanks for the contribution. I've applied this patch to /trunk.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
