Test counting unique annotations.
()
| 1941 | |
| 1942 | |
| 1943 | def test_count_annotations(): |
| 1944 | """Test counting unique annotations.""" |
| 1945 | annotations = Annotations([0, 1, 2], [1, 2, 1], ["T0", "T1", "T0"]) |
| 1946 | assert annotations.count() == {"T0": 2, "T1": 1} |
| 1947 | assert count_annotations(annotations) == {"T0": 2, "T1": 1} |
| 1948 | |
| 1949 | |
| 1950 | @pytest.mark.parametrize("split_size", ["1GB", "5MB"]) |
nothing calls this directly
no test coverage detected