(type: Graph.Kind, first: number, second: number)
| 52 | } |
| 53 | |
| 54 | const twoNodeGraph = (type: Graph.Kind, first: number, second: number) => |
| 55 | Graph.make(type)<number, number>((mutable) => { |
| 56 | Graph.addNode(mutable, first) |
| 57 | Graph.addNode(mutable, second) |
| 58 | Graph.addEdge(mutable, 0, 1, 0) |
| 59 | }) |
| 60 | |
| 61 | describe("Hash", () => { |
| 62 | describe("collision resistance", () => { |