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

File sec.test.js

test/unit-tests/function/trigonometry/sec.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 { approxEqual, approxDeepEqual } from '../../../../tools/approx.js'
4const pi = math.pi

Callers

nothing calls this directly

Calls 13

approxEqualFunction · 0.90
approxDeepEqualFunction · 0.90
createMethod · 0.80
isBigNumberMethod · 0.80
toNumberMethod · 0.80
sqrtMethod · 0.65
powMethod · 0.65
toStringMethod · 0.65
secMethod · 0.65
bignumberMethod · 0.65
mapMethod · 0.65
parseMethod · 0.65

Tested by

no test coverage detected