IsDecreasingf asserts that the collection is decreasing a.IsDecreasingf([]int{2, 1, 0}, "error message %s", "formatted") a.IsDecreasingf([]float{2, 1}, "error message %s", "formatted") a.IsDecreasingf([]string{"b", "a"}, "error message %s", "formatted")
(object interface{}, msg string, args ...interface{})
| 790 | // a.IsDecreasingf([]float{2, 1}, "error message %s", "formatted") |
| 791 | // a.IsDecreasingf([]string{"b", "a"}, "error message %s", "formatted") |
| 792 | func (a *Assertions) IsDecreasingf(object interface{}, msg string, args ...interface{}) bool { |
| 793 | if h, ok := a.t.(tHelper); ok { |
| 794 | h.Helper() |
| 795 | } |
| 796 | return IsDecreasingf(a.t, object, msg, args...) |
| 797 | } |
| 798 | |
| 799 | // IsIncreasing asserts that the collection is increasing |
| 800 | // |
nothing calls this directly
no test coverage detected