Skip to content

Commit

Permalink
Remove irrelevant test
Browse files Browse the repository at this point in the history
  • Loading branch information
daxfohl committed Jan 11, 2025
1 parent e89ddb3 commit c0ce4a0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cirq-core/cirq/devices/grid_qubit_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,6 @@ def _test_qid_pickled_hash(q: 'cirq.Qid', q_bad: 'cirq.Qid') -> None:
assert hash(q_ok) == hash(q)


def test_hash_fills_plane():
qubits = cirq.GridQubit.square(7, -3, -3)
hashes = [hash(q) for q in qubits]
assert sorted(hashes) == list(range(49))


def test_str():
assert str(cirq.GridQubit(5, 2)) == 'q(5, 2)'
assert str(cirq.GridQid(5, 2, dimension=3)) == 'q(5, 2) (d=3)'
Expand Down

0 comments on commit c0ce4a0

Please sign in to comment.