IsNonDecreasingf asserts that the collection is not decreasing a.IsNonDecreasingf([]int{1, 1, 2}, "error message %s", "formatted") a.IsNonDecreasingf([]float{1, 2}, "error message %s", "formatted") a.IsNonDecreasingf([]string{"a", "b"}, "error message %s", "formatted")
(object interface{}, msg string, args ...interface{})
| 840 | // a.IsNonDecreasingf([]float{1, 2}, "error message %s", "formatted") |
| 841 | // a.IsNonDecreasingf([]string{"a", "b"}, "error message %s", "formatted") |
| 842 | func (a *Assertions) IsNonDecreasingf(object interface{}, msg string, args ...interface{}) { |
| 843 | if h, ok := a.t.(tHelper); ok { |
| 844 | h.Helper() |
| 845 | } |
| 846 | IsNonDecreasingf(a.t, object, msg, args...) |
| 847 | } |
| 848 | |
| 849 | // IsNonIncreasing asserts that the collection is not increasing |
| 850 | // |
nothing calls this directly
no test coverage detected