MCPcopy Create free account
hub / github.com/stretchr/testify / InDeltaMapValues

Method InDeltaMapValues

require/require_forward.go:703–708  ·  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

701
702// InDeltaMapValues is the same as InDelta, but it compares all values between two maps. Both maps must have exactly the same keys.
703func (a *Assertions) InDeltaMapValues(expected interface{}, actual interface{}, delta float64, msgAndArgs ...interface{}) {
704 if h, ok := a.t.(tHelper); ok {
705 h.Helper()
706 }
707 InDeltaMapValues(a.t, expected, actual, delta, msgAndArgs...)
708}
709
710// InDeltaMapValuesf is the same as InDelta, but it compares all values between two maps. Both maps must have exactly the same keys.
711func (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