MCPcopy
hub / github.com/expr-lang/expr / IsIncreasing

Method IsIncreasing

internal/testify/assert/assertion_forward.go:804–809  ·  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

802// a.IsIncreasing([]float{1, 2})
803// a.IsIncreasing([]string{"a", "b"})
804func (a *Assertions) IsIncreasing(object interface{}, msgAndArgs ...interface{}) bool {
805 if h, ok := a.t.(tHelper); ok {
806 h.Helper()
807 }
808 return IsIncreasing(a.t, object, msgAndArgs...)
809}
810
811// IsIncreasingf asserts that the collection is increasing
812//

Callers

nothing calls this directly

Calls 2

IsIncreasingFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected