IsIncreasingf asserts that the collection is increasing assert.IsIncreasingf(t, []int{1, 2, 3}, "error message %s", "formatted") assert.IsIncreasingf(t, []float{1, 2}, "error message %s", "formatted") assert.IsIncreasingf(t, []string{"a", "b"}, "error message %s", "formatted")
(t TestingT, object interface{}, msg string, args ...interface{})
| 415 | // assert.IsIncreasingf(t, []float{1, 2}, "error message %s", "formatted") |
| 416 | // assert.IsIncreasingf(t, []string{"a", "b"}, "error message %s", "formatted") |
| 417 | func IsIncreasingf(t TestingT, object interface{}, msg string, args ...interface{}) bool { |
| 418 | if h, ok := t.(tHelper); ok { |
| 419 | h.Helper() |
| 420 | } |
| 421 | return IsIncreasing(t, object, append([]interface{}{msg}, args...)...) |
| 422 | } |
| 423 | |
| 424 | // IsNonDecreasingf asserts that the collection is not decreasing |
| 425 | // |
no test coverage detected