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