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

Method InDeltaSlice

internal/testify/assert/assertion_forward.go:718–723  ·  view source on GitHub ↗

InDeltaSlice is the same as InDelta, except it compares two slices.

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

Source from the content-addressed store, hash-verified

716
717// InDeltaSlice is the same as InDelta, except it compares two slices.
718func (a *Assertions) InDeltaSlice(expected interface{}, actual interface{}, delta float64, msgAndArgs ...interface{}) bool {
719 if h, ok := a.t.(tHelper); ok {
720 h.Helper()
721 }
722 return InDeltaSlice(a.t, expected, actual, delta, msgAndArgs...)
723}
724
725// InDeltaSlicef is the same as InDelta, except it compares two slices.
726func (a *Assertions) InDeltaSlicef(expected interface{}, actual interface{}, delta float64, msg string, args ...interface{}) bool {

Callers

nothing calls this directly

Calls 2

InDeltaSliceFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected