def test_shift_swap_network_gate_repr(left_part_lens, right_part_lens):
    gate = cca.ShiftSwapNetworkGate(left_part_lens, right_part_lens)
    cirq.testing.assert_equivalent_repr(gate)

    gate = cca.ShiftSwapNetworkGate(left_part_lens, right_part_lens, cirq.ZZ)
    cirq.testing.assert_equivalent_repr(gate)