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

Method IsNonIncreasingf

internal/testify/assert/assertion_forward.go:864–869  ·  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

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

Callers

nothing calls this directly

Calls 2

IsNonIncreasingfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected