* wrap/python/spot.i: Include headers from tgba/ and tgbaalgos/.

* wrap/python/tests/ltl2tgba.py, wrap/python/tests/ltl2tgba.test:
New files.
* wrap/python/tests/Makefile.am (TESTS): Add ltl2tgba.test.
(EXTRA_DIST): Add ltl2tgba.py.
* wrap/python/tests/run.in: Distinguish *.py and *.test.
This commit is contained in:
Alexandre Duret-Lutz 2003-08-04 13:50:59 +00:00
parent c160eba524
commit 1095dd7533
7 changed files with 210 additions and 5 deletions

16
wrap/python/tests/ltl2tgba.test Executable file
View file

@ -0,0 +1,16 @@
#!/bin/sh
set -e
# We don't check the output, but just running these might be enough to
# trigger assertions.
./run ltl2tgba.py a
./run ltl2tgba.py 'a U b'
./run ltl2tgba.py 'X a'
./run ltl2tgba.py 'a & b & c'
./run ltl2tgba.py 'a | b | (c U (d & (g U (h ^ i))))'
./run ltl2tgba.py 'Xa & (b U !a) & (b U !a)'
./run ltl2tgba.py 'Fa & Xb & GFc & Gd'
./run ltl2tgba.py 'Fa & Xa & GFc & Gc'
./run ltl2tgba.py 'Fc & X(a | Xb) & GF(a | Xb) & Gc'