1Test::Stream::Compare::UNsuemrbeCro(n3t)ributed Perl DocTuemsetn:t:aSttiroenam::Compare::Number(3)
2
3
4
6 Test::Stream::Compare::Number - Compare 2 values as numbers
7
9 This distribution is deprecated in favor of Test2, Test2::Suite, and
10 Test2::Workflow.
11
12 See Test::Stream::Manual::ToTest2 for a conversion guide.
13
15 This is used to compare 2 numbers. You can also check that 2 numbers
16 are not the same.
17
18 Note: This will fail if the recieved value is undefined, it must be a
19 number.
20
21 Note: This will fail if the comparison generates a non-numeric value
22 warning (which will not be shown), this is because it must get a
23 number. The warning is not shown as it will report to a useless line
24 and filename, however the test diagnotics show both values.
25
27 The source code repository for Test::Stream can be found at
28 http://github.com/Test-More/Test-Stream/.
29
31 Chad Granum <exodist@cpan.org>
32
34 Chad Granum <exodist@cpan.org>
35
37 Copyright 2015 Chad Granum <exodist7@gmail.com>.
38
39 This program is free software; you can redistribute it and/or modify it
40 under the same terms as Perl itself.
41
42 See http://dev.perl.org/licenses/
43
44
45
46perl v5.34.0 2021-07-27 Test::Stream::Compare::Number(3)