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

Method IsNonIncreasingf

assert/assertion_forward.go:878–883  ·  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

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

Callers

nothing calls this directly

Calls 2

IsNonIncreasingfFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected