MCPcopy
hub / github.com/danvk/dygraphs / assertDeepCloseTo

Function assertDeepCloseTo

auto_tests/tests/custom_asserts.js:5–11  ·  view source on GitHub ↗
(actualArray, expectedArray, epsilon)

Source from the content-addressed store, hash-verified

3 */
4
5export function assertDeepCloseTo(actualArray, expectedArray, epsilon) {
6 assert.isArray(actualArray);
7 assert.isArray(expectedArray);
8 for (var i = 0; i < actualArray.length; i++) {
9 assert.closeTo(actualArray[i], expectedArray[i], epsilon);
10 }
11};

Callers 6

axis_labels.jsFile · 0.90
createGraphFunction · 0.90
zoomFunction · 0.90
range_tests.jsFile · 0.90
to_dom_coords.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected