Skip to content

Commit

Permalink
add repr coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ajberdy committed Nov 21, 2023
1 parent f1204d0 commit f5d0511
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unit_tests/braket/circuits/test_basis_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def test_as_props(basis_state_input, size, as_tuple, as_int, as_string):
assert basis_state.as_tuple == as_tuple
assert basis_state.as_int == as_int
assert basis_state.as_string == as_string == str(basis_state)
assert repr(basis_state) == f'BasisState("{as_string}")'


@pytest.mark.parametrize(
Expand Down

0 comments on commit f5d0511

Please sign in to comment.