GreaterOrEqual asserts that the first element is greater than or equal to the second assert.GreaterOrEqual(t, 2, 1) assert.GreaterOrEqual(t, 2, 2) assert.GreaterOrEqual(t, "b", "a") assert.GreaterOrEqual(t, "b", "b")
(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...interface{})
| 400 | // assert.GreaterOrEqual(t, "b", "a") |
| 401 | // assert.GreaterOrEqual(t, "b", "b") |
| 402 | func GreaterOrEqual(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...interface{}) bool { |
| 403 | if h, ok := t.(tHelper); ok { |
| 404 | h.Helper() |
| 405 | } |
| 406 | return compareTwoValues(t, e1, e2, []compareResult{compareGreater, compareEqual}, "\"%v\" is not greater than or equal to \"%v\"", msgAndArgs...) |
| 407 | } |
| 408 | |
| 409 | // Less asserts that the first element is less than the second |
| 410 | // |
searching dependent graphs…