MCPcopy Index your code
hub / github.com/expr-lang/expr / IsIncreasing

Method IsIncreasing

internal/testify/require/require_forward.go:806–811  ·  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

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

Callers

nothing calls this directly

Calls 2

IsIncreasingFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected