Skip to content

Commit

Permalink
test review for input parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiomtzlosa committed Sep 9, 2024
1 parent 30ef970 commit 58200dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_ui_mpldrawer.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ def circuit(nqubits=2):
return c


@pytest.mark.parametrize("qubits", [0, 1])
def test_plot_circuit(qubits):
@pytest.mark.parametrize("nqubits", [2, 3])
def test_plot_circuit(nqubits):
"""Test for main plot function"""
circ = circuit()
circ = circuit(nqubits)
ax, _ = plot_circuit(circ)
assert ax.title == ax.title

Expand Down

0 comments on commit 58200dd

Please sign in to comment.