MCPcopy Index your code
hub / github.com/expr-lang/expr / InEpsilonSlicef

Function InEpsilonSlicef

internal/testify/assert/assertion_format.go:386–391  ·  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

384
385// InEpsilonSlicef is the same as InEpsilon, except it compares each value from two slices.
386func InEpsilonSlicef(t TestingT, expected interface{}, actual interface{}, epsilon float64, msg string, args ...interface{}) bool {
387 if h, ok := t.(tHelper); ok {
388 h.Helper()
389 }
390 return InEpsilonSlice(t, expected, actual, epsilon, append([]interface{}{msg}, args...)...)
391}
392
393// IsDecreasingf asserts that the collection is decreasing
394//

Callers 2

InEpsilonSlicefFunction · 0.92
InEpsilonSlicefMethod · 0.70

Calls 2

InEpsilonSliceFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…