(a: [bigint, bigint][], b: [bigint, bigint][])
| 390 | } |
| 391 | |
| 392 | function pairSetEqual(a: [bigint, bigint][], b: [bigint, bigint][]): boolean { |
| 393 | const as = new Set(dedupePairsLocal(a).map(pairKey)); |
| 394 | const bs = new Set(dedupePairsLocal(b).map(pairKey)); |
| 395 | if (as.size !== bs.size) return false; |
| 396 | for (const k of as) if (!bs.has(k)) return false; |
| 397 | return true; |
| 398 | } |
| 399 | |
| 400 | /** |
| 401 | * Applies the family-generation rule documented on `PellResult`: every class |
no test coverage detected