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

Function IsNonIncreasingf

internal/testify/require/require.go:1091–1099  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

1089// assert.IsNonIncreasingf(t, []float{2, 1}, "error message %s", "formatted")
1090// assert.IsNonIncreasingf(t, []string{"b", "a"}, "error message %s", "formatted")
1091func IsNonIncreasingf(t TestingT, object interface{}, msg string, args ...interface{}) {
1092 if h, ok := t.(tHelper); ok {
1093 h.Helper()
1094 }
1095 if assert.IsNonIncreasingf(t, object, msg, args...) {
1096 return
1097 }
1098 t.FailNow()
1099}
1100
1101// IsType asserts that the specified objects are of the same type.
1102func IsType(t TestingT, expectedType interface{}, object interface{}, msgAndArgs ...interface{}) {

Callers 1

IsNonIncreasingfMethod · 0.70

Calls 3

IsNonIncreasingfFunction · 0.92
FailNowMethod · 0.65
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…