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{})
| 932 | // a.Less(float64(1), float64(2)) |
| 933 | // a.Less("a", "b") |
| 934 | func (a *Assertions) Less(e1 interface{}, e2 interface{}, msgAndArgs ...interface{}) bool { |
| 935 | if h, ok := a.t.(tHelper); ok { |
| 936 | h.Helper() |
| 937 | } |
| 938 | return Less(a.t, e1, e2, msgAndArgs...) |
| 939 | } |
| 940 | |
| 941 | // LessOrEqual asserts that the first element is less than or equal to the second |
| 942 | // |