Less asserts that the first element is less than the second a.Less(1, 2) a.Less(float64(1), float64(2)) a.Less("a", "b")
(e1 interface{}, e2 interface{}, msgAndArgs ...interface{})
| 970 | // a.Less(float64(1), float64(2)) |
| 971 | // a.Less("a", "b") |
| 972 | func (a *Assertions) Less(e1 interface{}, e2 interface{}, msgAndArgs ...interface{}) bool { |
| 973 | if h, ok := a.t.(tHelper); ok { |
| 974 | h.Helper() |
| 975 | } |
| 976 | return Less(a.t, e1, e2, msgAndArgs...) |
| 977 | } |
| 978 | |
| 979 | // LessOrEqual asserts that the first element is less than or equal to the second |
| 980 | // |