Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: Is validation of all subroutine arguments overkill?by RonW (Parson) |
on May 23, 2016 at 21:43 UTC ( [id://1163907]=note: print w/replies, xml ) | Need Help?? |
less edge cases to test against Maybe Testing the boundaries checked by the parameter validation is a form of edge case testing that should be done. For whatever reasonable value of epsilon, you need to validate that values just "inside" the boundaries are accepted and those just "outside" are rejected.
In Section
Seekers of Perl Wisdom
|
|