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