MCPcopy Create free account
hub / github.com/Effect-TS/effect / assertIndices

Function assertIndices

packages/effect/test/Graph.test.ts:54–56  ·  view source on GitHub ↗
(walker: Graph.NodeWalker<N>, expected: ReadonlyArray<number>)

Source from the content-addressed store, hash-verified

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

Callers 1

Graph.test.tsFile · 0.85

Calls 1

fromMethod · 0.80

Tested by

no test coverage detected