InEpsilonf asserts that expected and actual have a relative error less than epsilon
(t TestingT, expected interface{}, actual interface{}, epsilon float64, msg string, args ...interface{})
| 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{}) { |
| 985 | if h, ok := t.(tHelper); ok { |
| 986 | h.Helper() |
| 987 | } |
| 988 | if assert.InEpsilonf(t, expected, actual, epsilon, msg, args...) { |
| 989 | return |
| 990 | } |
| 991 | t.FailNow() |
| 992 | } |
| 993 | |
| 994 | // IsDecreasing asserts that the collection is decreasing |
| 995 | // |
no test coverage detected