Skip to content

Commit

Permalink
Disable decoder plugin tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bmhowe23 committed Jan 9, 2025
1 parent 73c64de commit ff7369d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions libs/qec/python/tests/test_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,20 @@ def test_decoder_result_structure():
assert len(result.result) == 10


def test_decoder_plugin_initialization():
decoder = qec.get_decoder('single_error_lut_example', H)
assert decoder is not None
assert hasattr(decoder, 'decode')
# def test_decoder_plugin_initialization():
# decoder = qec.get_decoder('single_error_lut_example', H)
# assert decoder is not None
# assert hasattr(decoder, 'decode')


def test_decoder_plugin_result_structure():
decoder = qec.get_decoder('single_error_lut_example', H)
result = decoder.decode(create_test_syndrome())
# def test_decoder_plugin_result_structure():
# decoder = qec.get_decoder('single_error_lut_example', H)
# result = decoder.decode(create_test_syndrome())

assert hasattr(result, 'converged')
assert hasattr(result, 'result')
assert isinstance(result.converged, bool)
assert isinstance(result.result, list)
# assert hasattr(result, 'converged')
# assert hasattr(result, 'result')
# assert isinstance(result.converged, bool)
# assert isinstance(result.result, list)


def test_decoder_result_values():
Expand Down

0 comments on commit ff7369d

Please sign in to comment.