MCPcopy
hub / github.com/stretchr/testify / InDeltaMapValues

Method InDeltaMapValues

require/require_forward.go:717–722  ·  view source on GitHub ↗

InDeltaMapValues is the same as InDelta, but it compares all values between two maps. Both maps must have exactly the same keys.

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

Source from the content-addressed store, hash-verified

715
716// InDeltaMapValues is the same as InDelta, but it compares all values between two maps. Both maps must have exactly the same keys.
717func (a *Assertions) InDeltaMapValues(expected interface{}, actual interface{}, delta float64, msgAndArgs ...interface{}) {
718 if h, ok := a.t.(tHelper); ok {
719 h.Helper()
720 }
721 InDeltaMapValues(a.t, expected, actual, delta, msgAndArgs...)
722}
723
724// InDeltaMapValuesf is the same as InDelta, but it compares all values between two maps. Both maps must have exactly the same keys.
725func (a *Assertions) InDeltaMapValuesf(expected interface{}, actual interface{}, delta float64, msg string, args ...interface{}) {

Callers

nothing calls this directly

Calls 2

InDeltaMapValuesFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected