cirq.testing.OrderTester

class cirq.testing.OrderTester[source]

Tests ordering against user-provided disjoint ordered groups or items.

__init__()[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

add_ascending(*items) Tries to add a sequence of ascending items to the order tester.
add_ascending_equivalence_group(*group_items) Tries to add an ascending equivalence group to the order tester.