setting work

This commit is contained in:
John Lancaster
2026-02-21 12:03:04 -06:00
parent 81793a7bfe
commit 44540d7e3d
4 changed files with 136 additions and 120 deletions

View File

@@ -20,6 +20,11 @@ class TestDAGSetInit:
assert len(s) == 3
assert set(s) == {"foo", 2, 3}
def test_from_str(self) -> None:
s = DAGSetView("foo")
assert len(s) == 1
assert set(s) == {"foo"}
def test_from_list(self) -> None:
s = DAGSetView(["foo", 2, 3, 2])
assert len(s) == 3