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{})
| 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{}) { |
| 906 | if h, ok := t.(tHelper); ok { |
| 907 | h.Helper() |
| 908 | } |
| 909 | if assert.InDeltaMapValuesf(t, expected, actual, delta, msg, args...) { |
| 910 | return |
| 911 | } |
| 912 | t.FailNow() |
| 913 | } |
| 914 | |
| 915 | // InDeltaSlice is the same as InDelta, except it compares two slices. |
| 916 | func InDeltaSlice(t TestingT, expected interface{}, actual interface{}, delta float64, msgAndArgs ...interface{}) { |
no test coverage detected