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

Method IsNonDecreasingf

internal/testify/require/require_forward.go:842–847  ·  view source on GitHub ↗

IsNonDecreasingf asserts that the collection is not decreasing a.IsNonDecreasingf([]int{1, 1, 2}, "error message %s", "formatted") a.IsNonDecreasingf([]float{1, 2}, "error message %s", "formatted") a.IsNonDecreasingf([]string{"a", "b"}, "error message %s", "formatted")

(object interface{}, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

840// a.IsNonDecreasingf([]float{1, 2}, "error message %s", "formatted")
841// a.IsNonDecreasingf([]string{"a", "b"}, "error message %s", "formatted")
842func (a *Assertions) IsNonDecreasingf(object interface{}, msg string, args ...interface{}) {
843 if h, ok := a.t.(tHelper); ok {
844 h.Helper()
845 }
846 IsNonDecreasingf(a.t, object, msg, args...)
847}
848
849// IsNonIncreasing asserts that the collection is not increasing
850//

Callers

nothing calls this directly

Calls 2

IsNonDecreasingfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected