| 145 | * @param {t.TestCase} tc |
| 146 | */ |
| 147 | export const testRepeatRandomDiffing = tc => { |
| 148 | const clients = 4 |
| 149 | const clockRange = 100 |
| 150 | const ds1 = createRandomIdSet(tc.prng, clients, clockRange) |
| 151 | const ds2 = createRandomIdSet(tc.prng, clients, clockRange) |
| 152 | const merged = d.mergeIdSets([ds1, ds2]) |
| 153 | const e1 = d.diffIdSet(ds1, ds2) |
| 154 | const e2 = d.diffIdSet(merged, ds2) |
| 155 | compareIdSets(e1, e2) |
| 156 | } |
| 157 | |
| 158 | /** |
| 159 | * @param {t.TestCase} tc |
nothing calls this directly
no test coverage detected
searching dependent graphs…