cirq.testing.assert_implements_consistent_protocols

Checks that a value is internally consistent and has a good repr.