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

Function IsIncreasingf

internal/testify/assert/assertion_format.go:410–415  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

408// assert.IsIncreasingf(t, []float{1, 2}, "error message %s", "formatted")
409// assert.IsIncreasingf(t, []string{"a", "b"}, "error message %s", "formatted")
410func IsIncreasingf(t TestingT, object interface{}, msg string, args ...interface{}) bool {
411 if h, ok := t.(tHelper); ok {
412 h.Helper()
413 }
414 return IsIncreasing(t, object, append([]interface{}{msg}, args...)...)
415}
416
417// IsNonDecreasingf asserts that the collection is not decreasing
418//

Callers 2

IsIncreasingfFunction · 0.92
IsIncreasingfMethod · 0.70

Calls 2

IsIncreasingFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…