6 use Test::Leaner tests => 4 * 10 + 7 + 10;
9 [ '1.0', '==', '1.0' ],
10 [ '1e0', '==', '1e0' ],
11 [ '1.0', '<=', '1.0' ],
12 [ '1.0', '>=', '1.0' ],
13 [ '1.0', '<=', '2.0' ],
14 [ '1.0', '<', '2.0' ],
15 [ '2.0', '>=', '1.0' ],
16 [ '2.0', '>', '1.0' ],
17 [ '1.0', '!=', '2.0' ],
18 [ '2.0', '!=', '1.0' ],
21 for my $t (@num_tests) {
22 my ($x, $op, $y) = @$t;
24 cmp_ok int($x), $op, $y;
25 cmp_ok $x, $op, int($y);
26 cmp_ok int($x), $op, int($y);
39 for my $t (@str_tests) {
40 my ($x, $op, $y) = @$t;
58 for my $t (@logic_tests) {
59 my ($x, $op, $y) = @$t;