Skip to content

Commit 203d421

Browse files
committed
Add test for tagged stim circuits and dems
1 parent d55d0a8 commit 203d421

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/matching/load_from_stim_test.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,11 @@ def test_load_from_dem_without_stim_raises_type_error():
7878
Matching.from_detector_error_model("test")
7979
with pytest.raises(TypeError):
8080
Matching.from_stim_circuit("test")
81+
82+
83+
def test_load_from_tagged_stim_circuit(data_dir: Path):
84+
Matching.from_stim_circuit_file(data_dir / "tagged_circuit.stim")
85+
86+
87+
def test_load_from_tagged_detector_error_model(data_dir: Path):
88+
Matching.from_detector_error_model_file(data_dir / "tagged_dem.dem")

0 commit comments

Comments
 (0)