ltlsynt: deduce --outs from --ins or vice-versa
* bin/ltlsynt.cc: Implement it. * NEWS, doc/org/ltlsynt.org: Document it. * tests/core/ltlsynt.test: Test it.
This commit is contained in:
parent
60225fd139
commit
1b69ed96f9
4 changed files with 77 additions and 26 deletions
|
|
@ -515,3 +515,24 @@ diff out exp
|
|||
ltlsynt -f 'a U (b' 2>err && exit 1
|
||||
test $? -eq 2
|
||||
test `wc -l <err` -eq 4
|
||||
|
||||
|
||||
cat >expected <<EOF
|
||||
REALIZABLE
|
||||
HOA: v1
|
||||
States: 1
|
||||
Start: 0
|
||||
AP: 3 "b" "c" "a"
|
||||
acc-name: all
|
||||
Acceptance: 0 t
|
||||
properties: trans-labels explicit-labels state-acc deterministic
|
||||
--BODY--
|
||||
State: 0
|
||||
[!0&!1 | !1&!2] 0
|
||||
[0&1&2] 0
|
||||
--END--
|
||||
EOF
|
||||
ltlsynt --ins=a,b -f 'G (a & b <=> c)' >stdout
|
||||
diff stdout expected
|
||||
ltlsynt --outs=c -f 'G (a & b <=> c)' >stdout
|
||||
diff stdout expected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue