blib/lib/Number/Tolerant/Type/more_than.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 10 | 100.0 |
line | true | false | branch |
---|---|---|---|
17 | 1 | 16 | if $string =~ /\A($number)\s*<$X\z/ |
18 | 3 | 13 | if $string =~ /\A$X?>\s*($number)\z/ |
20 | 1 | 12 | if $string =~ /\Amore\s+than\s+($number)\z/ |
28 | 34 | 21 | unless 2 == grep({defined $_;} @_) |
31 | 14 | 20 | if ($_[$i->[0]] eq "more_than" and defined(my $num = $self->normalize_number($_[$i->[1]]))) |