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

Function InDeltaMapValuesf

internal/testify/assert/assertion_format.go:362–367  ·  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

360
361// InDeltaMapValuesf is the same as InDelta, but it compares all values between two maps. Both maps must have exactly the same keys.
362func InDeltaMapValuesf(t TestingT, expected interface{}, actual interface{}, delta float64, msg string, args ...interface{}) bool {
363 if h, ok := t.(tHelper); ok {
364 h.Helper()
365 }
366 return InDeltaMapValues(t, expected, actual, delta, append([]interface{}{msg}, args...)...)
367}
368
369// InDeltaSlicef is the same as InDelta, except it compares two slices.
370func InDeltaSlicef(t TestingT, expected interface{}, actual interface{}, delta float64, msg string, args ...interface{}) bool {

Callers 2

InDeltaMapValuesfFunction · 0.92
InDeltaMapValuesfMethod · 0.70

Calls 2

InDeltaMapValuesFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…