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