Simple test suite added

This commit is contained in:
2026-07-23 16:02:41 +02:00
parent 8e7c463567
commit d050d61701
5 changed files with 191 additions and 26 deletions

12
tests/manual_test.py Normal file
View File

@@ -0,0 +1,12 @@
import sys
from bedit_core.serialization import load, save
from bedit_core.bondgraph import causality_inference
def main(path: str):
doc = load(path)
for id, root in doc.root.items():
doc.root[id] = causality_inference(doc.root[id])
save(doc, path)
if __name__ == "__main__":
main(sys.argv[1])