(actual, expected)
| 12 | // Test Helpers |
| 13 | const threshold = 0.001; |
| 14 | function isInAcceptableRange (actual, expected) { |
| 15 | return actual >= ((1 - threshold) * expected) && actual <= ((1 + threshold) * expected); |
| 16 | } |
| 17 | function isInRange (actual, min, max) { |
| 18 | return actual >= min && actual <= max; |
| 19 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…