emptiness checks: replace assert-preconditions by exceptions

* spot/twaalgos/couvreurnew.cc, spot/twaalgos/gv04.cc,
spot/twaalgos/magic.cc, spot/twaalgos/se05.cc, spot/twaalgos/tau03.cc,
spot/twaalgos/tau03opt.cc: Throw if precondition on acceptance
condition is not satisfied.
* tests/python/misc-ec.py: New file.
* tests/Makefile.am: Add it.
* NEWS: Mention the change.
This commit is contained in:
Alexandre Duret-Lutz 2017-03-10 14:19:09 +01:00
parent 55b029961b
commit 2e3fc0d4d2
9 changed files with 84 additions and 11 deletions

View file

@ -339,6 +339,7 @@ TESTS_python = \
python/ltlparse.py \
python/ltlsimple.py \
python/minato.py \
python/misc-ec.py \
python/optionmap.py \
python/otfcrash.py \
python/parsetgba.py \