autfilt: implement --has-univ-branching and --has-exist-branching
Fixes #352. * bin/autfilt.cc: Add the options. * tests/core/alternating.test: Test them. * NEWS: Mention them.
This commit is contained in:
parent
939f63eec9
commit
2e50f9e986
3 changed files with 28 additions and 3 deletions
|
|
@ -53,7 +53,7 @@ State: 6 "t"
|
|||
--END--
|
||||
EOF
|
||||
|
||||
autfilt --dot=bans alt.hoa >alt.dot
|
||||
autfilt --has-univ-branch --has-exist-branch --dot=bans alt.hoa >alt.dot
|
||||
|
||||
cat >expect.dot <<EOF
|
||||
digraph "" {
|
||||
|
|
@ -267,6 +267,8 @@ State: 2
|
|||
--END--
|
||||
EOF
|
||||
|
||||
autfilt --has-exist-branch ex3 && exit 1
|
||||
|
||||
autfilt -q --equivalent-to=ex1 ex2
|
||||
autfilt -q --included-in=ex1 ex2
|
||||
autfilt -q --equivalent-to=ex1 ex3 && exit 1
|
||||
|
|
@ -654,7 +656,7 @@ State: 4 "t"
|
|||
--END--
|
||||
EOF
|
||||
|
||||
run 0 autfilt --dot='sbarf(Lato)' ex8 > ex8.dot
|
||||
run 0 autfilt --has-exist-branch --dot='sbarf(Lato)' ex8 > ex8.dot
|
||||
|
||||
cat >expect8.dot<<EOF
|
||||
digraph "SLAA for c R (c | G(a & b) | (F!b & F!a))" {
|
||||
|
|
@ -734,7 +736,7 @@ State: 2
|
|||
--END--
|
||||
EOF
|
||||
|
||||
run 0 autfilt --dot='baryf(Lato)' ex9 > ex9.dot
|
||||
run 0 autfilt -v --has-exist-branch --dot='baryf(Lato)' ex9 > ex9.dot
|
||||
|
||||
cat >expect9.dot <<EOF
|
||||
digraph "" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue