run: fix reduce on automata with Fin

Reported by Florian Renkin.

* spot/twaalgos/emptiness.cc (reduce): If the automaton uses Fin
acceptance, check the reduced cycle and revert to the original cycle
if necessary.
* tests/python/intrun.py: New file.
* tests/Makefile.am: Add it.
* spot/twaalgos/emptiness.hh: Improve documentation.
This commit is contained in:
Alexandre Duret-Lutz 2020-07-10 18:05:18 +02:00
parent 6dbdd89fc1
commit 918548a03d
5 changed files with 80 additions and 9 deletions

View file

@ -394,6 +394,7 @@ TESTS_python = \
python/genem.py \
python/implies.py \
python/interdep.py \
python/intrun.py \
python/kripke.py \
python/ltl2tgba.test \
python/ltlf.py \