MCPcopy
hub / github.com/stretchr/testify / InEpsilonSlicef

Function InEpsilonSlicef

assert/assertion_format.go:393–398  ·  view source on GitHub ↗

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{})

Source from the content-addressed store, hash-verified

391
392// InEpsilonSlicef is the same as InEpsilon, except it compares each value from two slices.
393func InEpsilonSlicef(t TestingT, expected interface{}, actual interface{}, epsilon float64, msg string, args ...interface{}) bool {
394 if h, ok := t.(tHelper); ok {
395 h.Helper()
396 }
397 return InEpsilonSlice(t, expected, actual, epsilon, append([]interface{}{msg}, args...)...)
398}
399
400// IsDecreasingf asserts that the collection is decreasing
401//

Callers 2

InEpsilonSlicefFunction · 0.92
InEpsilonSlicefMethod · 0.70

Calls 2

InEpsilonSliceFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected