NAME

Test::Stream::Compare::Number - Compare 2 values as numbers

DEPRECATED

This distribution is deprecated in favor of Test2, Test2::Suite, and Test2::Workflow.

See Test::Stream::Manual::ToTest2 for a conversion guide.

DESCRIPTION

This is used to compare 2 numbers. You can also check that 2 numbers are not the same.

Note: This will fail if the recieved value is undefined, it must be a number.

Note: This will fail if the comparison generates a non-numeric value warning (which will not be shown), this is because it must get a number. The warning is not shown as it will report to a useless line and filename, however the test diagnotics show both values.

SOURCE

The source code repository for Test::Stream can be found at http://github.com/Test-More/Test-Stream/.

MAINTAINERS

Chad Granum <exodist@cpan.org>

AUTHORS

Chad Granum <exodist@cpan.org>

COPYRIGHT

Copyright 2015 Chad Granum <exodist7@gmail.com>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/