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{})
| 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{}) { |
| 893 | if h, ok := t.(tHelper); ok { |
| 894 | h.Helper() |
| 895 | } |
| 896 | if assert.InDeltaMapValuesf(t, expected, actual, delta, msg, args...) { |
| 897 | return |
| 898 | } |
| 899 | t.FailNow() |
| 900 | } |
| 901 | |
| 902 | // InDeltaSlice is the same as InDelta, except it compares two slices. |
| 903 | func InDeltaSlice(t TestingT, expected interface{}, actual interface{}, delta float64, msgAndArgs ...interface{}) { |
no test coverage detected
searching dependent graphs…