MCPcopy Index your code
hub / github.com/cazala/synaptic / equalWithError

Function equalWithError

test/synaptic.js:50–52  ·  view source on GitHub ↗
(output, expected, error)

Source from the content-addressed store, hash-verified

48}
49
50function equalWithError(output, expected, error) {
51 return Math.abs(output - expected) <= error;
52}
53
54// specs
55

Callers 1

synaptic.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected