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

Function InDelta

util/assert/assertions.go:1108–1132  ·  view source on GitHub ↗

InDelta asserts that the two numerals are within delta of each other. assert.InDelta(t, math.Pi, 22/7.0, 0.01)

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

InDeltaSliceFunction · 0.85
InDeltaMapValuesFunction · 0.85

Calls 3

toFloatFunction · 0.85
FailFunction · 0.85
HelperMethod · 0.80

Tested by

no test coverage detected