autfilt: support --is-colored
This also improve the coverage of the is_colored() function, because it was not used in negative cases so far. * bin/autfilt.cc: Implement it. * tests/core/satmin2.test: Test it. * NEWS: Mention it.
This commit is contained in:
parent
00c3271c72
commit
47974cd004
3 changed files with 20 additions and 3 deletions
|
|
@ -206,8 +206,8 @@ test `cat output` = 1
|
|||
|
||||
|
||||
# How about a state-based DPA?
|
||||
autfilt -S --sat-minimize='acc="parity max even 3",colored' -H test.hoa \
|
||||
> output
|
||||
autfilt -S --sat-minimize='acc="parity max even 3",colored' -H test.hoa |
|
||||
autfilt --is-colored > output
|
||||
cat output
|
||||
grep 'properties:.*colored' output
|
||||
grep 'States: 3' output
|
||||
|
|
@ -384,6 +384,9 @@ State: 0
|
|||
0 {2 1} /*{b, a}*/
|
||||
--END--
|
||||
EOF
|
||||
|
||||
autfilt -q --is-colored foo.hoa && exit 1
|
||||
|
||||
autfilt --sat-minimize='acc="Streett 1",max-states=2' foo.hoa \
|
||||
--stats=%s >out
|
||||
test "`cat out`" = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue