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{})
| 969 | |
| 970 | // InEpsilonf asserts that expected and actual have a relative error less than epsilon |
| 971 | func InEpsilonf(t TestingT, expected interface{}, actual interface{}, epsilon float64, msg string, args ...interface{}) { |
| 972 | if h, ok := t.(tHelper); ok { |
| 973 | h.Helper() |
| 974 | } |
| 975 | if assert.InEpsilonf(t, expected, actual, epsilon, msg, args...) { |
| 976 | return |
| 977 | } |
| 978 | t.FailNow() |
| 979 | } |
| 980 | |
| 981 | // IsDecreasing asserts that the collection is decreasing |
| 982 | // |
no test coverage detected
searching dependent graphs…