InEpsilonSlice is the same as InEpsilon, except it compares each value from two slices.
(t TestingT, expected interface{}, actual interface{}, epsilon float64, msgAndArgs ...interface{})
| 960 | |
| 961 | // InEpsilonSlice is the same as InEpsilon, except it compares each value from two slices. |
| 962 | func InEpsilonSlice(t TestingT, expected interface{}, actual interface{}, epsilon float64, msgAndArgs ...interface{}) { |
| 963 | if h, ok := t.(tHelper); ok { |
| 964 | h.Helper() |
| 965 | } |
| 966 | if assert.InEpsilonSlice(t, expected, actual, epsilon, msgAndArgs...) { |
| 967 | return |
| 968 | } |
| 969 | t.FailNow() |
| 970 | } |
| 971 | |
| 972 | // InEpsilonSlicef is the same as InEpsilon, except it compares each value from two slices. |
| 973 | func InEpsilonSlicef(t TestingT, expected interface{}, actual interface{}, epsilon float64, msg string, args ...interface{}) { |
no test coverage detected