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

Function InDeltaMapValues

internal/testify/require/require.go:881–889  ·  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.

(t TestingT, expected interface{}, actual interface{}, delta float64, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

879
880// InDeltaMapValues is the same as InDelta, but it compares all values between two maps. Both maps must have exactly the same keys.
881func InDeltaMapValues(t TestingT, expected interface{}, actual interface{}, delta float64, msgAndArgs ...interface{}) {
882 if h, ok := t.(tHelper); ok {
883 h.Helper()
884 }
885 if assert.InDeltaMapValues(t, expected, actual, delta, msgAndArgs...) {
886 return
887 }
888 t.FailNow()
889}
890
891// InDeltaMapValuesf is the same as InDelta, but it compares all values between two maps. Both maps must have exactly the same keys.
892func InDeltaMapValuesf(t TestingT, expected interface{}, actual interface{}, delta float64, msg string, args ...interface{}) {

Callers 1

InDeltaMapValuesMethod · 0.70

Calls 3

InDeltaMapValuesFunction · 0.92
FailNowMethod · 0.65
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…