Negative asserts that the specified element is negative a.Negative(-1) a.Negative(-1.23)
(e interface{}, msgAndArgs ...interface{})
| 981 | // a.Negative(-1) |
| 982 | // a.Negative(-1.23) |
| 983 | func (a *Assertions) Negative(e interface{}, msgAndArgs ...interface{}) bool { |
| 984 | if h, ok := a.t.(tHelper); ok { |
| 985 | h.Helper() |
| 986 | } |
| 987 | return Negative(a.t, e, msgAndArgs...) |
| 988 | } |
| 989 | |
| 990 | // Negativef asserts that the specified element is negative |
| 991 | // |