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

Method IsNonIncreasing

assert/assertion_forward.go:866–871  ·  view source on GitHub ↗

IsNonIncreasing asserts that the collection is not increasing a.IsNonIncreasing([]int{2, 1, 1}) a.IsNonIncreasing([]float{2, 1}) a.IsNonIncreasing([]string{"b", "a"})

(object interface{}, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

864// a.IsNonIncreasing([]float{2, 1})
865// a.IsNonIncreasing([]string{"b", "a"})
866func (a *Assertions) IsNonIncreasing(object interface{}, msgAndArgs ...interface{}) bool {
867 if h, ok := a.t.(tHelper); ok {
868 h.Helper()
869 }
870 return IsNonIncreasing(a.t, object, msgAndArgs...)
871}
872
873// IsNonIncreasingf asserts that the collection is not increasing
874//

Callers

nothing calls this directly

Calls 2

IsNonIncreasingFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected