MCPcopy Create free account
hub / github.com/expr-lang/expr / InDeltaSlice

Method InDeltaSlice

internal/testify/require/require_forward.go:720–725  ·  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

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

Callers

nothing calls this directly

Calls 2

InDeltaSliceFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected