Do not assume that concatenation cannot accept the empty word.
For instance "(a+#e);(b+#e);(c*)" does. * src/ltlvisit/consterm.cc: Fix handling of Concat operator. * src/ltltest/consterm.test: Add more tests.
This commit is contained in:
parent
bd9136a98e
commit
ad519b8568
2 changed files with 4 additions and 9 deletions
|
|
@ -37,3 +37,6 @@ run 1 ../consterm '((a ; b) + #e)'
|
|||
run 0 ../consterm '((a ; b) + #e) & e'
|
||||
run 1 ../consterm '((a ; b) + #e) & #e'
|
||||
run 1 ../consterm '((a ; b) + #e) & (a* + b)'
|
||||
run 1 ../consterm '(a + #e);(b + #e);(c + #e)'
|
||||
run 0 ../consterm '(a + #e);(b + e);(c + #e)'
|
||||
run 1 ../consterm '(a + #e);(b + e)*;(c + #e)'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue