MCPcopy
hub / github.com/josdejong/mathjs / createPartitionedMap

Function createPartitionedMap

test/unit-tests/utils/map.test.js:155–160  ·  view source on GitHub ↗
(bKeys)

Source from the content-addressed store, hash-verified

153
154 describe('PartitionedMap', function () {
155 function createPartitionedMap (bKeys) {
156 const a = new Map()
157 const b = new Map()
158 const p = new PartitionedMap(a, b, new Set(bKeys))
159 return { a, b, p }
160 }
161
162 it('get, set', function () {
163 const { a, b, p } = createPartitionedMap(['b'])

Callers 1

map.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…