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

Function InDeltaSlicef

internal/testify/require/require.go:914–922  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

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{}) {
915 if h, ok := t.(tHelper); ok {
916 h.Helper()
917 }
918 if assert.InDeltaSlicef(t, expected, actual, delta, msg, args...) {
919 return
920 }
921 t.FailNow()
922}
923
924// InDeltaf asserts that the two numerals are within delta of each other.
925//

Callers 1

InDeltaSlicefMethod · 0.70

Calls 3

InDeltaSlicefFunction · 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…