cirq.testing.EqualsTester

class cirq.testing.EqualsTester[source]

Tests equality against user-provided disjoint equivalence groups.

__init__()[source]

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

Methods

add_equality_group(*group_items)

Tries to add a disjoint equivalence group to the equality tester.

make_equality_group(*factories)

Tries to add a disjoint equivalence group to the equality tester.