MCPcopy
hub / github.com/stretchr/testify / IsNonIncreasingf

Method IsNonIncreasingf

require/require_forward.go:879–884  ·  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

877// a.IsNonIncreasingf([]float{2, 1}, "error message %s", "formatted")
878// a.IsNonIncreasingf([]string{"b", "a"}, "error message %s", "formatted")
879func (a *Assertions) IsNonIncreasingf(object interface{}, msg string, args ...interface{}) {
880 if h, ok := a.t.(tHelper); ok {
881 h.Helper()
882 }
883 IsNonIncreasingf(a.t, object, msg, args...)
884}
885
886// IsNotType asserts that the specified objects are not of the same type.
887//

Callers

nothing calls this directly

Calls 2

IsNonIncreasingfFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected