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

Function IsNonIncreasingf

internal/testify/assert/assertion_format.go:434–439  ·  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

432// assert.IsNonIncreasingf(t, []float{2, 1}, "error message %s", "formatted")
433// assert.IsNonIncreasingf(t, []string{"b", "a"}, "error message %s", "formatted")
434func IsNonIncreasingf(t TestingT, object interface{}, msg string, args ...interface{}) bool {
435 if h, ok := t.(tHelper); ok {
436 h.Helper()
437 }
438 return IsNonIncreasing(t, object, append([]interface{}{msg}, args...)...)
439}
440
441// IsTypef asserts that the specified objects are of the same type.
442func IsTypef(t TestingT, expectedType interface{}, object interface{}, msg string, args ...interface{}) bool {

Callers 2

IsNonIncreasingfFunction · 0.92
IsNonIncreasingfMethod · 0.70

Calls 2

IsNonIncreasingFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…