| Module Info
| Add a review of Test-Number-Delta
A useful solution to a common problem.
There's a world of difference between
ok( $number >= 9 and $number <= 11 );
delta_within( $number, 10, 1 );
particularly when it comes coupled with appropriate error messages.
I am currently using this module extensively in my application project and am finding it a delight to use. I recently requested some additions to the module to handle floating-point array comparisons. The author was very quick to respond and not only implemented array comparisons but went a step further to also implement FP matrix comparisons. My conversations with the author were very pleasant and I thoroughly recommend his Test::Number::Delta module for FP comparisons.