Positive asserts that the specified element is positive a.Positive(1) a.Positive(1.23)
(e interface{}, msgAndArgs ...interface{})
| 1439 | // a.Positive(1) |
| 1440 | // a.Positive(1.23) |
| 1441 | func (a *Assertions) Positive(e interface{}, msgAndArgs ...interface{}) bool { |
| 1442 | if h, ok := a.t.(tHelper); ok { |
| 1443 | h.Helper() |
| 1444 | } |
| 1445 | return Positive(a.t, e, msgAndArgs...) |
| 1446 | } |
| 1447 | |
| 1448 | // Positivef asserts that the specified element is positive |
| 1449 | // |