Test::Stream::Compare::Number - Compare 2 values as numbers
See Test::Stream::Manual::ToTest2 for a conversion guide.
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.
The source code repository for Test::Stream can be found at http://github.com/Test-More/Test-Stream/.
Copyright 2015 Chad Granum <firstname.lastname@example.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.