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