(actual, expected)
| 2 | import {InternSet} from "internmap"; |
| 3 | |
| 4 | export function assertSetEqual(actual, expected) { |
| 5 | assert(actual instanceof Set); |
| 6 | expected = new InternSet(expected); |
| 7 | for (const a of actual) assert(expected.has(a), `unexpected ${a}`); |
| 8 | for (const e of expected) assert(actual.has(e), `expected ${e}`); |
| 9 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…