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:
parent
8d8fa4139d
commit
41722c0c5f
6 changed files with 64 additions and 14 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue