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{})
| 432 | // assert.IsNonIncreasingf(t, []float{2, 1}, "error message %s", "formatted") |
| 433 | // assert.IsNonIncreasingf(t, []string{"b", "a"}, "error message %s", "formatted") |
| 434 | func IsNonIncreasingf(t TestingT, object interface{}, msg string, args ...interface{}) bool { |
| 435 | if h, ok := t.(tHelper); ok { |
| 436 | h.Helper() |
| 437 | } |
| 438 | return IsNonIncreasing(t, object, append([]interface{}{msg}, args...)...) |
| 439 | } |
| 440 | |
| 441 | // IsTypef asserts that the specified objects are of the same type. |
| 442 | func IsTypef(t TestingT, expectedType interface{}, object interface{}, msg string, args ...interface{}) bool { |
no test coverage detected
searching dependent graphs…