simplify_acceptance: fix handling of first edge

Fixes #315.

* spot/twaalgos/cleanacc.cc (simplify_acceptance_here): Do not
compare the first edge against previous_a.
* tests/core/accsimpl.test: New file.
* tests/Makefile.am: Add it.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2018-01-06 09:13:52 +01:00
parent 17b295e10f
commit 2feba6ad5e
4 changed files with 67 additions and 10 deletions

View file

@ -242,6 +242,7 @@ TESTS_twa = \
core/explpro4.test \
core/explsum.test \
core/dualize.test \
core/accsimpl.test \
core/tripprod.test \
core/dupexp.test \
core/exclusive-tgba.test \