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{})
| 852 | // a.IsNonDecreasingf([]float{1, 2}, "error message %s", "formatted") |
| 853 | // a.IsNonDecreasingf([]string{"a", "b"}, "error message %s", "formatted") |
| 854 | func (a *Assertions) IsNonDecreasingf(object interface{}, msg string, args ...interface{}) bool { |
| 855 | if h, ok := a.t.(tHelper); ok { |
| 856 | h.Helper() |
| 857 | } |
| 858 | return IsNonDecreasingf(a.t, object, msg, args...) |
| 859 | } |
| 860 | |
| 861 | // IsNonIncreasing asserts that the collection is not increasing |
| 862 | // |
nothing calls this directly
no test coverage detected