MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / big

Function big

test/compute-engine/internals/statistics.test.ts:18–18  ·  view source on GitHub ↗
(xs: number[])

Source from the content-addressed store, hash-verified

16describe('Statistics correctness (REVIEW.md D7)', () => {
17 const data = [1, 2, 3, 4, 5];
18 const big = (xs: number[]) => xs.map((x) => new BigDecimal(x));
19
20 test('skewness of symmetric data is 0', () => {
21 expect(skewness(data)).toBeCloseTo(0, 12);

Callers 1

statistics.test.tsFile · 0.85

Calls 1

mapMethod · 0.65

Tested by

no test coverage detected