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

Method InDeltaMapValuesf

require/require_forward.go:725–730  ·  view source on GitHub ↗

InDeltaMapValuesf 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, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

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{}) {
726 if h, ok := a.t.(tHelper); ok {
727 h.Helper()
728 }
729 InDeltaMapValuesf(a.t, expected, actual, delta, msg, args...)
730}
731
732// InDeltaSlice is the same as InDelta, except it compares two slices.
733func (a *Assertions) InDeltaSlice(expected interface{}, actual interface{}, delta float64, msgAndArgs ...interface{}) {

Callers

nothing calls this directly

Calls 2

InDeltaMapValuesfFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected