remove_fin: never return acceptance "f"

Fixes #333.

* spot/twaalgos/remfin.cc, spot/twaalgos/remfin.hh,
spot/twaalgos/totgba.cc: Adjust.  The assert() added
to remove_fin() triggered a lot of failure in the test
suite before the different functions were fixed.
* tests/core/remfin.test, tests/python/tra2tba.py:
Adjust expected result.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2018-03-16 13:52:39 +01:00
parent f2b3653226
commit 1db3472a99
6 changed files with 64 additions and 14 deletions

View file

@ -91,18 +91,15 @@ State: 1
""")
exp = """HOA: v1
States: 2
States: 1
Start: 0
AP: 2 "a" "b"
acc-name: none
Acceptance: 0 f
AP: 0
acc-name: all
Acceptance: 0 t
properties: trans-labels explicit-labels state-acc deterministic
properties: stutter-invariant weak
--BODY--
State: 0
[!0] 0
[0] 1
State: 1
[0] 1
--END--"""
res = spot.remove_fin(aut)