MCPcopy
hub / github.com/josdejong/mathjs / pickRandom.test.js

File pickRandom.test.js

test/unit-tests/function/probability/pickRandom.test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import assert from 'assert'
2import math from '../../../../src/defaultInstance.js'
3import { flatten } from '../../../../src/utils/array.js'
4

Callers

nothing calls this directly

Calls 10

flattenFunction · 0.90
createMethod · 0.80
timesFunction · 0.70
matrixMethod · 0.65
sizeMethod · 0.65
forEachMethod · 0.65
filterMethod · 0.65
roundMethod · 0.65
parseMethod · 0.65
toTexMethod · 0.65

Tested by

no test coverage detected