IsNonDecreasingf asserts that the collection is not decreasing assert.IsNonDecreasingf(t, []int{1, 1, 2}, "error message %s", "formatted") assert.IsNonDecreasingf(t, []float{1, 2}, "error message %s", "formatted") assert.IsNonDecreasingf(t, []string{"a", "b"}, "error message %s", "formatted")
(t TestingT, object interface{}, msg string, args ...interface{})
| 427 | // assert.IsNonDecreasingf(t, []float{1, 2}, "error message %s", "formatted") |
| 428 | // assert.IsNonDecreasingf(t, []string{"a", "b"}, "error message %s", "formatted") |
| 429 | func IsNonDecreasingf(t TestingT, object interface{}, msg string, args ...interface{}) bool { |
| 430 | if h, ok := t.(tHelper); ok { |
| 431 | h.Helper() |
| 432 | } |
| 433 | return IsNonDecreasing(t, object, append([]interface{}{msg}, args...)...) |
| 434 | } |
| 435 | |
| 436 | // IsNonIncreasingf asserts that the collection is not increasing |
| 437 | // |
no test coverage detected