IsNonDecreasing asserts that the collection is not decreasing a.IsNonDecreasing([]int{1, 1, 2}) a.IsNonDecreasing([]float{1, 2}) a.IsNonDecreasing([]string{"a", "b"})
(object interface{}, msgAndArgs ...interface{})
| 826 | // a.IsNonDecreasing([]float{1, 2}) |
| 827 | // a.IsNonDecreasing([]string{"a", "b"}) |
| 828 | func (a *Assertions) IsNonDecreasing(object interface{}, msgAndArgs ...interface{}) bool { |
| 829 | if h, ok := a.t.(tHelper); ok { |
| 830 | h.Helper() |
| 831 | } |
| 832 | return IsNonDecreasing(a.t, object, msgAndArgs...) |
| 833 | } |
| 834 | |
| 835 | // IsNonDecreasingf asserts that the collection is not decreasing |
| 836 | // |
nothing calls this directly
no test coverage detected