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

Method InDeltaMapValuesf

internal/testify/assert/assertion_forward.go:710–715  ·  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

708
709// InDeltaMapValuesf is the same as InDelta, but it compares all values between two maps. Both maps must have exactly the same keys.
710func (a *Assertions) InDeltaMapValuesf(expected interface{}, actual interface{}, delta float64, msg string, args ...interface{}) bool {
711 if h, ok := a.t.(tHelper); ok {
712 h.Helper()
713 }
714 return InDeltaMapValuesf(a.t, expected, actual, delta, msg, args...)
715}
716
717// InDeltaSlice is the same as InDelta, except it compares two slices.
718func (a *Assertions) InDeltaSlice(expected interface{}, actual interface{}, delta float64, msgAndArgs ...interface{}) bool {

Callers

nothing calls this directly

Calls 2

InDeltaMapValuesfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected