InEpsilonSlicef is the same as InEpsilon, except it compares each value from two slices.
(expected interface{}, actual interface{}, epsilon float64, msg string, args ...interface{})
| 773 | |
| 774 | // InEpsilonSlicef is the same as InEpsilon, except it compares each value from two slices. |
| 775 | func (a *Assertions) InEpsilonSlicef(expected interface{}, actual interface{}, epsilon float64, msg string, args ...interface{}) { |
| 776 | if h, ok := a.t.(tHelper); ok { |
| 777 | h.Helper() |
| 778 | } |
| 779 | InEpsilonSlicef(a.t, expected, actual, epsilon, msg, args...) |
| 780 | } |
| 781 | |
| 782 | // InEpsilonf asserts that expected and actual have a relative error less than epsilon |
| 783 | func (a *Assertions) InEpsilonf(expected interface{}, actual interface{}, epsilon float64, msg string, args ...interface{}) { |
nothing calls this directly
no test coverage detected