Commit e383298a authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[lib] CLU: add extra test on invariant constraints shifting

parent dd39e021
...@@ -1228,6 +1228,9 @@ def test_shift(feed_mclanalyser, textual_properties): ...@@ -1228,6 +1228,9 @@ def test_shift(feed_mclanalyser, textual_properties):
unfolder.init_with_query(query) unfolder.init_with_query(query)
unfolder.init_forward_unfolding() unfolder.init_forward_unfolding()
# L
assert unfolder.invariant_constraints == [[[12]], [[58]]]
unfolder.shift() unfolder.shift()
print("dynamic_constraints:", unfolder.dynamic_constraints) print("dynamic_constraints:", unfolder.dynamic_constraints)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment