(a, b)
| 69487 | } |
| 69488 | } |
| 69489 | function exactEquals(a, b) { |
| 69490 | if (a === b) return true; |
| 69491 | if (a && typeof a === "object" && b && typeof b === "object") { |
| 69492 | if (a.constructor !== b.constructor) return false; |
| 69493 | if (a.exactEquals) return a.exactEquals(b); |
| 69494 | } |
| 69495 | if (isArray(a) && isArray(b)) { |
| 69496 | if (a.length !== b.length) return false; |
| 69497 | for(let i = 0; i < a.length; ++i){ |
| 69498 | if (!exactEquals(a[i], b[i])) return false; |
| 69499 | } |
| 69500 | return true; |
| 69501 | } |
| 69502 | return false; |
| 69503 | } |
| 69504 | function withEpsilon(epsilon, func) { |
| 69505 | const oldPrecision = config.EPSILON; |
| 69506 | config.EPSILON = epsilon; |
nothing calls this directly
no test coverage detected