MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / assertArrayLength

Function assertArrayLength

examples/acceptance/ohlc-sample.ts:21–23  ·  view source on GitHub ↗
(label: string, arr: ReadonlyArray<unknown>, expected: number)

Source from the content-addressed store, hash-verified

19};
20
21const assertArrayLength = (label: string, arr: ReadonlyArray<unknown>, expected: number): void => {
22 assertEqual(`${label} length`, arr.length, expected);
23};
24
25// Helper to compare OHLC values (works for both tuple and object)
26const assertOHLCEqual = (

Callers 1

ohlc-sample.tsFile · 0.85

Calls 1

assertEqualFunction · 0.70

Tested by

no test coverage detected