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

Method InDeltaSlicef

internal/testify/assert/assertion_forward.go:726–731  ·  view source on GitHub ↗

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

(expected interface{}, actual interface{}, delta float64, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

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 {
727 if h, ok := a.t.(tHelper); ok {
728 h.Helper()
729 }
730 return InDeltaSlicef(a.t, expected, actual, delta, msg, args...)
731}
732
733// InDeltaf asserts that the two numerals are within delta of each other.
734//

Callers

nothing calls this directly

Calls 2

InDeltaSlicefFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected