(walker: Graph.NodeWalker<N>, expected: ReadonlyArray<number>)
| 52 | } |
| 53 | |
| 54 | const assertIndices = <N>(walker: Graph.NodeWalker<N>, expected: ReadonlyArray<number>): void => { |
| 55 | assert.deepStrictEqual(Array.from(Graph.indices(walker)), expected) |
| 56 | } |
| 57 | |
| 58 | describe("Graph", () => { |
| 59 | describe("construction and protocols", () => { |