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

Method IsIncreasingf

internal/testify/assert/assertion_forward.go:816–821  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

814// a.IsIncreasingf([]float{1, 2}, "error message %s", "formatted")
815// a.IsIncreasingf([]string{"a", "b"}, "error message %s", "formatted")
816func (a *Assertions) IsIncreasingf(object interface{}, msg string, args ...interface{}) bool {
817 if h, ok := a.t.(tHelper); ok {
818 h.Helper()
819 }
820 return IsIncreasingf(a.t, object, msg, args...)
821}
822
823// IsNonDecreasing asserts that the collection is not decreasing
824//

Callers

nothing calls this directly

Calls 2

IsIncreasingfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected