* src/tgba/dictunion.cc (tgba_bdd_dict_union): Clone formulae
while building new dictionary. * src/tgbatest/ltlprod.test, src/tgbatest/ltlprod.cc: New files. * src/tgbatest/Makefile.am (check_PROGRAMS): Add ltlprod. (ltlprod_SOURCES): New variable. (TESTS): Add ltlprod.test.
This commit is contained in:
parent
3991a51a17
commit
4472a29227
6 changed files with 92 additions and 5 deletions
17
src/tgbatest/ltlprod.test
Executable file
17
src/tgbatest/ltlprod.test
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
. ./defs
|
||||
|
||||
set -e
|
||||
|
||||
# We don't check the output, but just running these might be enough to
|
||||
# trigger assertions.
|
||||
|
||||
./ltlprod a b
|
||||
./ltlprod a a
|
||||
./ltlprod 'a U b' 'X f'
|
||||
./ltlprod 'X a' 'X a'
|
||||
./ltlprod 'X a' 'a U b'
|
||||
./ltlprod 'a & b & c' 'b & d & c'
|
||||
./ltlprod 'a | b | (c U (d & (g U (h ^ i))))' 'h ^ i'
|
||||
./ltlprod 'Xa & (b U !a) & (b U !a)' '(b U !a) & f'
|
||||
Loading…
Add table
Add a link
Reference in a new issue