* 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:
Alexandre Duret-Lutz 2003-04-18 09:12:26 +00:00
parent 83cb6f3a39
commit d9cd704bcb
5 changed files with 31 additions and 20 deletions

View file

@ -19,12 +19,12 @@ check 0 'G a ' ' G a'
check 0 'a U b' 'a U b'
check 0 'a & b' 'a & b'
check 0 'a & b' 'b & a'
check 0 'a & b & c' 'c & a & b'
check 0 'a & b & c' 'c & a && b'
check 0 'a & b & c' 'b & c & a'
check 0 'a & b & a' 'b & a & b'
check 0 'a && b & a' 'b & a & b'
check 0 'a & b' 'b & a & b'
check 0 'a & b' 'b & a & a'
check 0 'a & b & (c |(f U g)| e)' 'b & a & a & (c | e |(f U g)| e | c) & b'
check 0 'a & b & (c |(f U g)|| e)' 'b & a & a & (c | e |(f U g)| e | c) & b'
# other formulae which are not
check 1 'a' 'b'