Commit 17bbef6c authored by Maximilien Colange's avatar Maximilien Colange
Browse files

Check that automata produced by ks_cobuchi are state-based.

* tests/python/gen.py: implement the check.
parent 2532c2ff
......@@ -25,6 +25,7 @@ import spot.gen as gen
from sys import exit
k2 = gen.ks_cobuchi(2)
assert k2.prop_state_acc()
assert k2.num_states() == 5
# to_str is defined in the spot package, so this makes sure
# the type returned by spot.gen.ks_cobuchi() is the correct one.
......
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