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

Method IsIncreasing

assert/assertion_forward.go:818–823  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

816// a.IsIncreasing([]float{1, 2})
817// a.IsIncreasing([]string{"a", "b"})
818func (a *Assertions) IsIncreasing(object interface{}, msgAndArgs ...interface{}) bool {
819 if h, ok := a.t.(tHelper); ok {
820 h.Helper()
821 }
822 return IsIncreasing(a.t, object, msgAndArgs...)
823}
824
825// IsIncreasingf asserts that the collection is increasing
826//

Callers

nothing calls this directly

Calls 2

IsIncreasingFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected