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

Function InDeltaMapValuesf

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

(t TestingT, expected interface{}, actual interface{}, delta float64, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

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{}) {
893 if h, ok := t.(tHelper); ok {
894 h.Helper()
895 }
896 if assert.InDeltaMapValuesf(t, expected, actual, delta, msg, args...) {
897 return
898 }
899 t.FailNow()
900}
901
902// InDeltaSlice is the same as InDelta, except it compares two slices.
903func InDeltaSlice(t TestingT, expected interface{}, actual interface{}, delta float64, msgAndArgs ...interface{}) {

Callers 1

InDeltaMapValuesfMethod · 0.70

Calls 3

InDeltaMapValuesfFunction · 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…