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

Method InDeltaMapValuesf

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

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{}) {
713 if h, ok := a.t.(tHelper); ok {
714 h.Helper()
715 }
716 InDeltaMapValuesf(a.t, expected, actual, delta, msg, args...)
717}
718
719// InDeltaSlice is the same as InDelta, except it compares two slices.
720func (a *Assertions) InDeltaSlice(expected interface{}, actual interface{}, delta float64, msgAndArgs ...interface{}) {

Callers

nothing calls this directly

Calls 2

InDeltaMapValuesfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected