blib/lib/Assert/Refute/T/Numeric.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 18 | 83.3 |
line | true | false | branch |
---|---|---|---|
58 | 0 | 7 | unless &looks_like_number($min) and &looks_like_number($max) |
61 | 2 | 5 | unless &looks_like_number($x) |
64 | 3 | 2 | $min <= $x && $x <= $max ? : |
76 | 0 | 4 | unless &looks_like_number($exp) and &looks_like_number($delta) |
79 | 2 | 2 | unless &looks_like_number($x) |
82 | 1 | 1 | abs $x - $exp <= $delta ? : |
94 | 0 | 4 | unless &looks_like_number($exp) and &looks_like_number($delta) |
97 | 2 | 2 | unless &looks_like_number($x) |
100 | 1 | 1 | abs $x - $exp <= abs $exp * $delta ? : |