An Assertion[A] is capable of producing assertion results on an A. As a
proposition, assertions compose using logical conjunction and disjunction,
and can be negated.
- Companion:
- object
Value members
Concrete methods
Returns a new assertion that succeeds only if both assertions succeed.
Returns a new assertion that succeeds only if both assertions succeed.
Labels this assertion with the specified string.
Labels this assertion with the specified string.
- Definition Classes
Tests the assertion to see if it would succeed on the given element.
Tests the assertion to see if it would succeed on the given element.
Inherited methods
Returns a new assertion that succeeds only if both assertions succeed.
Returns a new assertion that succeeds only if both assertions succeed.
- Inherited from:
- AssertionM
Returns a new assertion that succeeds if either assertion succeeds.
Returns a new assertion that succeeds if either assertion succeeds.
- Inherited from:
- AssertionM