project updates

This commit is contained in:
John Lancaster
2026-02-21 10:11:04 -06:00
parent b23a331953
commit 81b7b2650f
5 changed files with 35 additions and 8 deletions

View File

@@ -46,6 +46,11 @@ class TestDAGSetBasicOps:
s = DAGSetView({1, 2, 3})
assert len(s) == 3
def test_iter(self) -> None:
s = DAGSetView({1, 2, 3})
for i, v in enumerate(s):
assert v == i + 1
def test_contains(self) -> None:
s = DAGSetView({1, 2, 3})
assert 1 in s
@@ -80,11 +85,6 @@ class TestDAGSetBasicOps:
with pytest.raises(KeyError):
s.remove(99)
def test_iter(self) -> None:
s = DAGSetView({1, 2, 3})
for i, v in enumerate(s):
assert v == i + 1
class TestDAGSetCallbacks:
"""Test callback mechanisms."""