IsNonIncreasingf asserts that the collection is not increasing assert.IsNonIncreasingf(t, []int{2, 1, 1}, "error message %s", "formatted") assert.IsNonIncreasingf(t, []float{2, 1}, "error message %s", "formatted") assert.IsNonIncreasingf(t, []string{"b", "a"}, "error message %s", "formatted")
(t TestingT, object interface{}, msg string, args ...interface{})
| 439 | // assert.IsNonIncreasingf(t, []float{2, 1}, "error message %s", "formatted") |
| 440 | // assert.IsNonIncreasingf(t, []string{"b", "a"}, "error message %s", "formatted") |
| 441 | func IsNonIncreasingf(t TestingT, object interface{}, msg string, args ...interface{}) bool { |
| 442 | if h, ok := t.(tHelper); ok { |
| 443 | h.Helper() |
| 444 | } |
| 445 | return IsNonIncreasing(t, object, append([]interface{}{msg}, args...)...) |
| 446 | } |
| 447 | |
| 448 | // IsNotTypef asserts that the specified objects are not of the same type. |
| 449 | // |
no test coverage detected