InEpsilonSlicef is the same as InEpsilon, except it compares each value from two slices.
(t TestingT, expected interface{}, actual interface{}, epsilon float64, msg string, args ...interface{})
| 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{}) { |
| 974 | if h, ok := t.(tHelper); ok { |
| 975 | h.Helper() |
| 976 | } |
| 977 | if assert.InEpsilonSlicef(t, expected, actual, epsilon, msg, args...) { |
| 978 | return |
| 979 | } |
| 980 | t.FailNow() |
| 981 | } |
| 982 | |
| 983 | // InEpsilonf asserts that expected and actual have a relative error less than epsilon |
| 984 | func InEpsilonf(t TestingT, expected interface{}, actual interface{}, epsilon float64, msg string, args ...interface{}) { |
no test coverage detected