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 9caba8bfe8
commit f2403c91dc
5 changed files with 80 additions and 9 deletions

View file

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