fix ltl2tgba -B not always returning Inf(0)
Reported by František Blahoudek. * spot/twaalgos/postproc.cc: Turn "t" into "Inf(0)" for BA. * tests/core/ltl2tgba.test: Add test case. * NEWS: Mention the bug.
This commit is contained in:
parent
d2ba554507
commit
cfe3ed707a
3 changed files with 19 additions and 0 deletions
|
|
@ -292,3 +292,6 @@ test 2 = `ltl2tgba -f "$f" --low -x tls-impl=3 --stats=%s`
|
|||
|
||||
# This is not optimal, the smallest DBA for this formula has 2 states.
|
||||
test 3 = `ltl2tgba -BD -f 'GF((p0 & GF!p0) | (!p0 & FGp0))' --stats=%s`
|
||||
|
||||
# Some versions of Spot incorrectly returned "t" automata with -B
|
||||
test "Inf(0)" = "`ltl2tgba -B 'Xb | G!b' --stats=%g`"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue