MCPcopy
hub / github.com/stretchr/testify / InDeltaSlicef

Method InDeltaSlicef

assert/assertion_forward.go:740–745  ·  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

738
739// InDeltaSlicef is the same as InDelta, except it compares two slices.
740func (a *Assertions) InDeltaSlicef(expected interface{}, actual interface{}, delta float64, msg string, args ...interface{}) bool {
741 if h, ok := a.t.(tHelper); ok {
742 h.Helper()
743 }
744 return InDeltaSlicef(a.t, expected, actual, delta, msg, args...)
745}
746
747// InDeltaf asserts that the two numerals are within delta of each other.
748//

Callers

nothing calls this directly

Calls 2

InDeltaSlicefFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected