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{})
| 1089 | // assert.IsNonIncreasingf(t, []float{2, 1}, "error message %s", "formatted") |
| 1090 | // assert.IsNonIncreasingf(t, []string{"b", "a"}, "error message %s", "formatted") |
| 1091 | func IsNonIncreasingf(t TestingT, object interface{}, msg string, args ...interface{}) { |
| 1092 | if h, ok := t.(tHelper); ok { |
| 1093 | h.Helper() |
| 1094 | } |
| 1095 | if assert.IsNonIncreasingf(t, object, msg, args...) { |
| 1096 | return |
| 1097 | } |
| 1098 | t.FailNow() |
| 1099 | } |
| 1100 | |
| 1101 | // IsType asserts that the specified objects are of the same type. |
| 1102 | func IsType(t TestingT, expectedType interface{}, object interface{}, msgAndArgs ...interface{}) { |
no test coverage detected
searching dependent graphs…