NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
dodging the question (Score:1)
I'm probably not doing a good job of answering "what do you test", but that's okay, my test suite gives me a pass [grin].
I'd be worried enough that someone would accidentally throw some code together that uses
reciprocalas an object method (and therefore uses an int-ified string-ified object as the divisor) that I would probably add some parameter validation, and then just test that my validation worked. I wouldn't feel the need to test the/operator.-- Douglas Hunter
Reply to This