Permalink
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (31 sloc) 1.01 KB

Sequence Matchers

Matchers of sequences.

contains

.. automodule:: hamcrest.library.collection.issequence_containinginorder
    :exclude-members: contains
.. autofunction:: contains(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()