length_boolone: fix inconsistency
* src/ltlvisit/length.cc: Consider length of all Boolean expressions combined in a multop as one. * src/ltltest/length.test: Test it.
This commit is contained in:
parent
b6e5ce7e15
commit
02334867da
2 changed files with 20 additions and 2 deletions
|
|
@ -34,3 +34,5 @@ len 'a|b|c' 5 1
|
|||
len '!a|b|!c' 7 1
|
||||
len '!(!a|b|!c)' 8 1
|
||||
len '!X(!a|b|!c)' 9 3
|
||||
len 'Xa|(b|c)' 6 4
|
||||
len 'Xa&(b|c)' 6 4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue