* 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:
Alexandre Duret-Lutz 2003-06-06 13:23:04 +00:00
parent 3991a51a17
commit 4472a29227
6 changed files with 92 additions and 5 deletions

17
src/tgbatest/ltlprod.test Executable file
View 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'