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{})
| 879 | |
| 880 | // InDeltaMapValues is the same as InDelta, but it compares all values between two maps. Both maps must have exactly the same keys. |
| 881 | func 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. |
| 892 | func InDeltaMapValuesf(t TestingT, expected interface{}, actual interface{}, delta float64, msg string, args ...interface{}) { |
no test coverage detected
searching dependent graphs…