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{})
| 892 | |
| 893 | // InDeltaMapValues is the same as InDelta, but it compares all values between two maps. Both maps must have exactly the same keys. |
| 894 | func InDeltaMapValues(t TestingT, expected interface{}, actual interface{}, delta float64, msgAndArgs ...interface{}) { |
| 895 | if h, ok := t.(tHelper); ok { |
| 896 | h.Helper() |
| 897 | } |
| 898 | if assert.InDeltaMapValues(t, expected, actual, delta, msgAndArgs...) { |
| 899 | return |
| 900 | } |
| 901 | t.FailNow() |
| 902 | } |
| 903 | |
| 904 | // InDeltaMapValuesf is the same as InDelta, but it compares all values between two maps. Both maps must have exactly the same keys. |
| 905 | func InDeltaMapValuesf(t TestingT, expected interface{}, actual interface{}, delta float64, msg string, args ...interface{}) { |
no test coverage detected