cirq.testing.assert_phase_by_is_consistent_with_unitary

Uses val._unitary_ to check val._phase_by_'s behavior.