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