MCPcopy
hub / github.com/stretchr/testify / InDeltaMapValuesf

Function InDeltaMapValuesf

assert/assertion_format.go:369–374  ·  assert/assertion_format.go::InDeltaMapValuesf

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

367
368// InDeltaMapValuesf is the same as InDelta, but it compares all values between two maps. Both maps must have exactly the same keys.
369func InDeltaMapValuesf(t TestingT, expected interface{}, actual interface{}, delta float64, msg string, args ...interface{}) bool {
370 if h, ok := t.(tHelper); ok {
371 h.Helper()
372 }
373 return InDeltaMapValues(t, expected, actual, delta, append([]interface{}{msg}, args...)...)
374}
375
376// InDeltaSlicef is the same as InDelta, except it compares two slices.
377func 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.65

Tested by

no test coverage detected