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

Function InDeltaSlice

internal/testify/require/require.go:903–911  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

901
902// InDeltaSlice is the same as InDelta, except it compares two slices.
903func InDeltaSlice(t TestingT, expected interface{}, actual interface{}, delta float64, msgAndArgs ...interface{}) {
904 if h, ok := t.(tHelper); ok {
905 h.Helper()
906 }
907 if assert.InDeltaSlice(t, expected, actual, delta, msgAndArgs...) {
908 return
909 }
910 t.FailNow()
911}
912
913// InDeltaSlicef is the same as InDelta, except it compares two slices.
914func InDeltaSlicef(t TestingT, expected interface{}, actual interface{}, delta float64, msg string, args ...interface{}) {

Callers 1

InDeltaSliceMethod · 0.70

Calls 3

InDeltaSliceFunction · 0.92
FailNowMethod · 0.65
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…