Skip to content

Commit

Permalink
Modify testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
glorialeezero committed Nov 25, 2024
1 parent daeec32 commit dc1c813
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_transition.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
Gate,
GateCmd,
H,
HoleAexp,
Integer,
Pgm,
SeqCmd,
Expand Down Expand Up @@ -92,4 +93,5 @@ def test_next_aexp():
assert type(pgm.body.gate.qreg2.a) in aexp_types
if type(pgm.body.gate.qreg2.a) not in [Integer, Var]:
aexp_types.remove(type(pgm.body.gate.qreg2.a))
assert isinstance(pgm.body.gate.qreg2.b, HoleAexp)
assert len(aexp_types) == 3

0 comments on commit dc1c813

Please sign in to comment.