IsDecreasingf asserts that the collection is decreasing assert.IsDecreasingf(t, []int{2, 1, 0}, "error message %s", "formatted") assert.IsDecreasingf(t, []float{2, 1}, "error message %s", "formatted") assert.IsDecreasingf(t, []string{"b", "a"}, "error message %s", "formatted")
(t TestingT, object interface{}, msg string, args ...interface{})
| 403 | // assert.IsDecreasingf(t, []float{2, 1}, "error message %s", "formatted") |
| 404 | // assert.IsDecreasingf(t, []string{"b", "a"}, "error message %s", "formatted") |
| 405 | func IsDecreasingf(t TestingT, object interface{}, msg string, args ...interface{}) bool { |
| 406 | if h, ok := t.(tHelper); ok { |
| 407 | h.Helper() |
| 408 | } |
| 409 | return IsDecreasing(t, object, append([]interface{}{msg}, args...)...) |
| 410 | } |
| 411 | |
| 412 | // IsIncreasingf asserts that the collection is increasing |
| 413 | // |
no test coverage detected