InEpsilonSlice is the same as InEpsilon, except it compares each value from two slices.
(t TestingT, expected interface{}, actual interface{}, epsilon float64, msgAndArgs ...interface{})
| 947 | |
| 948 | // InEpsilonSlice is the same as InEpsilon, except it compares each value from two slices. |
| 949 | func InEpsilonSlice(t TestingT, expected interface{}, actual interface{}, epsilon float64, msgAndArgs ...interface{}) { |
| 950 | if h, ok := t.(tHelper); ok { |
| 951 | h.Helper() |
| 952 | } |
| 953 | if assert.InEpsilonSlice(t, expected, actual, epsilon, msgAndArgs...) { |
| 954 | return |
| 955 | } |
| 956 | t.FailNow() |
| 957 | } |
| 958 | |
| 959 | // InEpsilonSlicef is the same as InEpsilon, except it compares each value from two slices. |
| 960 | func InEpsilonSlicef(t TestingT, expected interface{}, actual interface{}, epsilon float64, msg string, args ...interface{}) { |
no test coverage detected
searching dependent graphs…