* src/tgbatest/bddprod.test: New file.
* src/tgbatest/Makefile.am (check_PROGRAMS): Add bddprod. (bddprod_SOURCES, bddprod_CXXFLAGS): New variables. (TESTS): Add bddprod.test. * src/tgbatest/ltlprod.c: Handle BDD_CONCRETE_PRODUCT.
This commit is contained in:
parent
4472a29227
commit
0233f31ee0
5 changed files with 35 additions and 2 deletions
17
src/tgbatest/bddprod.test
Executable file
17
src/tgbatest/bddprod.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.
|
||||
|
||||
./bddprod a b
|
||||
./bddprod a a
|
||||
./bddprod 'a U b' 'X f'
|
||||
./bddprod 'X a' 'X a'
|
||||
./bddprod 'X a' 'a U b'
|
||||
./bddprod 'a & b & c' 'b & d & c'
|
||||
./bddprod 'a | b | (c U (d & (g U (h ^ i))))' 'h ^ i'
|
||||
./bddprod 'Xa & (b U !a) & (b U !a)' '(b U !a) & f'
|
||||
Loading…
Add table
Add a link
Reference in a new issue