MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / expectVectorClose

Function expectVectorClose

src/utils/sim3dNormalization.test.ts:112–117  ·  view source on GitHub ↗
(actual: number[], expected: number[])

Source from the content-addressed store, hash-verified

110}
111
112function expectVectorClose(actual: number[], expected: number[]): void {
113 expect(actual).toHaveLength(expected.length);
114 expected.forEach((value, index) => {
115 expect(actual[index]).toBeCloseTo(value);
116 });
117}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected