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

Method InDeltaSlicef

require/require_forward.go:741–746  ·  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

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

Callers

nothing calls this directly

Calls 2

InDeltaSlicefFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected