InDeltaSlice is the same as InDelta, except it compares two slices.
(t TestingT, expected interface{}, actual interface{}, delta float64, msgAndArgs ...interface{})
| 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{}) { |
| 917 | if h, ok := t.(tHelper); ok { |
| 918 | h.Helper() |
| 919 | } |
| 920 | if assert.InDeltaSlice(t, expected, actual, delta, msgAndArgs...) { |
| 921 | return |
| 922 | } |
| 923 | t.FailNow() |
| 924 | } |
| 925 | |
| 926 | // InDeltaSlicef is the same as InDelta, except it compares two slices. |
| 927 | func InDeltaSlicef(t TestingT, expected interface{}, actual interface{}, delta float64, msg string, args ...interface{}) { |
no test coverage detected