* src/ltlparse/ltlscan.ll: Recognize && and ||.
* src/ltltest/parse.test, src/ltltest/parseerr.test, src/ltltest/equals.test: Use these operators..
This commit is contained in:
parent
83cb6f3a39
commit
d9cd704bcb
5 changed files with 31 additions and 20 deletions
|
|
@ -39,6 +39,7 @@ check 'a U b V c R' ''
|
|||
# leading and trailing garbage are skipped
|
||||
check '/2/3/4/5 a + b /6/7/8/' 'multop(Or, AP(a), AP(b))'
|
||||
check 'a U b c' 'binop(U, AP(a), AP(b))'
|
||||
check 'a &&& b' 'AP(b)'
|
||||
# (check multop merging while we are at it)
|
||||
check 'a & b & c & d e' 'multop(And, AP(a), AP(b), AP(c), AP(d))'
|
||||
check 'a & (b | c) & d should work' 'multop(And, AP(a), multop(Or, AP(b), AP(c)), AP(d))'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue