-
-
02 Apr 2010 21:39:39 UTC
- Browse (raw)
- Changes
- How to Contribute
- Issues (3)
- Testers (1805 / 378 / 0)
- Kwalitee
Bus factor: 0- 86.67% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (8.56KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- POSIX
- Test::Builder
- Text::LevenshteinXS
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Changes for version 0.03
- After a discussion on cpan ratings with نديم الخمير, is_approx() is now a wrapper that does basic checks to decide which sub to call. Not yet plugin-friendly, but it will be easy to convert it as needed.
- now handles numbers (& ints) as well as strings. New API methods: is_approx_num(), is_approx_int() & is_approx_str().
- fixed a weird bug using POSIX::strtod(): $dist = 0.05; $threshold = 0.05; $dist <= $threshold; # false ??!?
Documentation
Modules
compare two things for approximate equalityOther files
Module Install Instructions
To install Test::Approx, copy and paste the appropriate command in to your terminal.
cpanm Test::Approx
perl -MCPAN -e shell install Test::Approx
For more information on module installation, please visit the detailed CPAN module installation guide.