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

Method IsDecreasingf

require/require_forward.go:807–812  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

805// a.IsDecreasingf([]float{2, 1}, "error message %s", "formatted")
806// a.IsDecreasingf([]string{"b", "a"}, "error message %s", "formatted")
807func (a *Assertions) IsDecreasingf(object interface{}, msg string, args ...interface{}) {
808 if h, ok := a.t.(tHelper); ok {
809 h.Helper()
810 }
811 IsDecreasingf(a.t, object, msg, args...)
812}
813
814// IsIncreasing asserts that the collection is increasing
815//

Callers

nothing calls this directly

Calls 2

IsDecreasingfFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected