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

Method InEpsilonSlice

internal/testify/assert/assertion_forward.go:752–757  ·  view source on GitHub ↗

InEpsilonSlice is the same as InEpsilon, except it compares each value from two slices.

(expected interface{}, actual interface{}, epsilon float64, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

750
751// InEpsilonSlice is the same as InEpsilon, except it compares each value from two slices.
752func (a *Assertions) InEpsilonSlice(expected interface{}, actual interface{}, epsilon float64, msgAndArgs ...interface{}) bool {
753 if h, ok := a.t.(tHelper); ok {
754 h.Helper()
755 }
756 return InEpsilonSlice(a.t, expected, actual, epsilon, msgAndArgs...)
757}
758
759// InEpsilonSlicef is the same as InEpsilon, except it compares each value from two slices.
760func (a *Assertions) InEpsilonSlicef(expected interface{}, actual interface{}, epsilon float64, msg string, args ...interface{}) bool {

Callers

nothing calls this directly

Calls 2

InEpsilonSliceFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected