MCPcopy Index your code
hub / github.com/expr-lang/expr / InDeltaMapValues

Method InDeltaMapValues

internal/testify/require/require_forward.go:704–709  ·  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

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

Tested by

no test coverage detected