Equals asserts that the supplied boolean is equal to the expected boolean.
(expect bool)
| 28 | |
| 29 | // Equals asserts that the supplied boolean is equal to the expected boolean. |
| 30 | func (o OnBoolean) Equals(expect bool) bool { |
| 31 | return o.Compare(o.value, "==", expect).Test(o.value == expect) |
| 32 | } |
| 33 | |
| 34 | // NotEquals asserts that the supplied boolean is not equal to the test boolean. |
| 35 | func (o OnBoolean) NotEquals(test bool) bool { |