Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/josdejong/mathjs
/ random.test.js
File
random.test.js
test/unit-tests/function/probability/random.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
assert from
'assert'
2
import
math from
'../../../../src/defaultInstance.js'
3
4
const
math2 = math.create({ randomSeed:
'test'
})
Callers
nothing calls this directly
Calls
10
assertUniformDistribution
Function · 0.85
create
Method · 0.80
times
Function · 0.70
forEach
Method · 0.65
size
Method · 0.65
matrix
Method · 0.65
valueOf
Method · 0.65
bignumber
Method · 0.65
parse
Method · 0.65
toTex
Method · 0.65
Tested by
no test coverage detected