Skip to content

Commit

Permalink
more variety prog test
Browse files Browse the repository at this point in the history
  • Loading branch information
majidaldo committed Jan 2, 2025
1 parent 0623cbc commit fdf0c47
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/rdf_engine/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# reset to 0 if issues
__version__ = "199"
__version__ = "200"

from .engine import Engine, logger
5 changes: 3 additions & 2 deletions test/program.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ execs:
- params:
MAX_NCYCLES: 5
canon: True
deanon: False
deanon: True
deanon_uri: "urn:anon:"
log: True
log_print: True
rules:
Expand All @@ -13,7 +14,7 @@ execs:
n: 1
rand: False
graph: null # null, ~, or absence of value to interpret as None
anon: False
anon: True
nested: False
- params:
MAX_NCYCLES: 5
Expand Down
6 changes: 4 additions & 2 deletions test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@ def test_prog():

from rdf_engine.program import Program
_ = Program.parse(s)
_.run()
_ = _.run()
return _


if __name__ == '__main__':
test_prog()
_ = test_prog()
print(_)
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fdf0c47

Please sign in to comment.