1Test2::Compare::Number(U3s)er Contributed Perl DocumentatTieosnt2::Compare::Number(3)
2
3
4
6 Test2::Compare::Number - Compare two values as numbers
7
9 This is used to compare two numbers. You can also check that two
10 numbers are not the same.
11
12 Note: This will fail if the received value is undefined. It must be a
13 number.
14
15 Note: This will fail if the comparison generates a non-numeric value
16 warning (which will not be shown). This is because it must get a
17 number. The warning is not shown as it will report to a useless line
18 and filename. However, the test diagnostics show both values.
19
21 The source code repository for Test2-Suite can be found at
22 https://github.com/Test-More/Test2-Suite/.
23
25 Chad Granum <exodist@cpan.org>
26
28 Chad Granum <exodist@cpan.org>
29
31 Copyright 2018 Chad Granum <exodist@cpan.org>.
32
33 This program is free software; you can redistribute it and/or modify it
34 under the same terms as Perl itself.
35
36 See http://dev.perl.org/licenses/
37
38
39
40perl v5.34.0 2022-03-08 Test2::Compare::Number(3)