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

Method IsNonIncreasingf

internal/testify/require/require_forward.go:866–871  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

864// a.IsNonIncreasingf([]float{2, 1}, "error message %s", "formatted")
865// a.IsNonIncreasingf([]string{"b", "a"}, "error message %s", "formatted")
866func (a *Assertions) IsNonIncreasingf(object interface{}, msg string, args ...interface{}) {
867 if h, ok := a.t.(tHelper); ok {
868 h.Helper()
869 }
870 IsNonIncreasingf(a.t, object, msg, args...)
871}
872
873// IsType asserts that the specified objects are of the same type.
874func (a *Assertions) IsType(expectedType interface{}, object interface{}, msgAndArgs ...interface{}) {

Callers

nothing calls this directly

Calls 2

IsNonIncreasingfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected