MCPcopy Create free account
hub / github.com/corestoreio/pkg / InEpsilon

Function InEpsilon

util/assert/assertions.go:1204–1218  ·  view source on GitHub ↗

InEpsilon asserts that expected and actual have a relative error less than epsilon

(t TestingT, expected, actual interface{}, epsilon float64, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

InEpsilonSliceFunction · 0.85

Calls 4

calcRelativeErrorFunction · 0.85
FailFunction · 0.85
HelperMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected