Codebase list pyhamcrest / debian/2.0.3-1 doc / sequence_matchers.rst
debian/2.0.3-1

Tree @debian/2.0.3-1 (Download .tar.gz)

sequence_matchers.rst @debian/2.0.3-1raw · history · blame

Sequence Matchers
-----------------

Matchers of sequences.


contains_exactly
^^^^^^^^^^^^^^^^

.. automodule:: hamcrest.library.collection.issequence_containinginorder
    :exclude-members: contains, contains_exactly
.. autofunction:: contains_exactly(match1, [match2[, ...]])

contains_inanyorder
^^^^^^^^^^^^^^^^^^^

.. automodule:: hamcrest.library.collection.issequence_containinginanyorder
    :exclude-members: contains_inanyorder
.. autofunction:: contains_inanyorder(match1, [match2[, ...]])

has_item, has_items
^^^^^^^^^^^^^^^^^^^

.. automodule:: hamcrest.library.collection.issequence_containing
    :exclude-members: has_items
.. autofunction:: has_items(match1, [match2[, ...]])

is_in
^^^^^

.. automodule:: hamcrest.library.collection.isin

only_contains
^^^^^^^^^^^^^

.. automodule:: hamcrest.library.collection.issequence_onlycontaining
    :exclude-members: only_contains
.. autofunction:: only_contains(match1, [match2[, ...]])

empty
^^^^^

.. automodule:: hamcrest.library.collection.is_empty
    :exclude-members: empty
.. autofunction:: empty()