Greater asserts that the first element is greater than the second a.Greater(2, 1) a.Greater(float64(2), float64(1)) a.Greater("b", "a")
(e1 interface{}, e2 interface{}, msgAndArgs ...interface{})
| 476 | // a.Greater(float64(2), float64(1)) |
| 477 | // a.Greater("b", "a") |
| 478 | func (a *Assertions) Greater(e1 interface{}, e2 interface{}, msgAndArgs ...interface{}) bool { |
| 479 | if h, ok := a.t.(tHelper); ok { |
| 480 | h.Helper() |
| 481 | } |
| 482 | return Greater(a.t, e1, e2, msgAndArgs...) |
| 483 | } |
| 484 | |
| 485 | // GreaterOrEqual asserts that the first element is greater than or equal to the second |
| 486 | // |