Logical OR on conditions.
.. code-block:: python
assert num == matching.Or([matching.Ge(10), matching.Le(-10)])
Definition at line 167 of file matching.py.
Public Member Functions | |
| __init__ (self, *conditions) | |
| __repr__ (self) | |
| __eq__ (self, other) | |
| __testsuite_visit__ (self, visit) | |
Protected Attributes | |
| _conditions = conditions | |
| testsuite.matching.Or.__init__ | ( | self, | |
| * | conditions ) |
Definition at line 176 of file matching.py.
| testsuite.matching.Or.__eq__ | ( | self, | |
| other ) |
Definition at line 183 of file matching.py.
| testsuite.matching.Or.__repr__ | ( | self | ) |
Definition at line 179 of file matching.py.
| testsuite.matching.Or.__testsuite_visit__ | ( | self, | |
| visit ) |
Definition at line 191 of file matching.py.
|
protected |
Definition at line 177 of file matching.py.