Greater asserts that the first element is greater than the second assert.Greater(t, 2, 1) assert.Greater(t, float64(2), float64(1)) assert.Greater(t, "b", "a")
(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...interface{})
| 598 | // assert.Greater(t, float64(2), float64(1)) |
| 599 | // assert.Greater(t, "b", "a") |
| 600 | func Greater(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...interface{}) { |
| 601 | if h, ok := t.(tHelper); ok { |
| 602 | h.Helper() |
| 603 | } |
| 604 | if assert.Greater(t, e1, e2, msgAndArgs...) { |
| 605 | return |
| 606 | } |
| 607 | t.FailNow() |
| 608 | } |
| 609 | |
| 610 | // GreaterOrEqual asserts that the first element is greater than or equal to the second |
| 611 | // |
searching dependent graphs…