(A, B, tolerance, cb, msg)
| 116 | } |
| 117 | |
| 118 | function assertCloseTo(A, B, tolerance, cb, msg) { |
| 119 | var a = cb(A).flat(); |
| 120 | var b = cb(B).flat(); |
| 121 | expect(a).withContext(msg + ' equal to ' + JSON.stringify(A)).toBeWithinArray(b, tolerance); |
| 122 | } |
| 123 | |
| 124 | function extractNumbers(array) { |
| 125 | return array.map(function(d) { |
no outgoing calls
no test coverage detected
searching dependent graphs…