* src/ltltest/defs.in (run): New function, run valgrind.
* src/ltltest/equals.test, src/ltltest/lunabbrev.test, src/ltltest/nenoform.test, src/ltltest/parse.test, src/ltltest/parseerr.test, src/ltltest/tostring.test, src/ltltest/tunabbrev.test, src/ltltest/tunenoform.test: Use run(). * Makefile.am (EXTRA_DIST): Don't list the m4/*.m4 files, Automake 1.8 find them automatically. * configure.ac: Require Automake 1.8, in gnits mode, and check for valgrind. * THANKS: New empty file.
This commit is contained in:
parent
c2892a8275
commit
6f88e518a9
14 changed files with 167 additions and 160 deletions
|
|
@ -28,37 +28,37 @@
|
|||
set -e
|
||||
|
||||
# A few things that do not change
|
||||
./nenoform 'a' 'a'
|
||||
./nenoform '1' '1'
|
||||
./nenoform '0' '0'
|
||||
./nenoform '!a' '!a'
|
||||
./nenoform 'a U b' 'a U b'
|
||||
./nenoform 'a & b' 'a & b'
|
||||
./nenoform 'a & b' 'b & a'
|
||||
./nenoform 'a & !b & c' 'c & a & !b'
|
||||
./nenoform 'a & b & c' 'b & c & a'
|
||||
./nenoform 'Xa & b & Xa' 'b & Xa & b'
|
||||
./nenoform 'a & b' 'b & a & b'
|
||||
./nenoform 'a & !b' '!b & a & a'
|
||||
./nenoform 'a & b & (Xc |(f U !g)| e)' 'b & a & a & (Xc | e |(f U !g)| e | Xc) & b'
|
||||
./nenoform 'GFa => FGb' 'GFa => FGb'
|
||||
run 0 ./nenoform 'a' 'a'
|
||||
run 0 ./nenoform '1' '1'
|
||||
run 0 ./nenoform '0' '0'
|
||||
run 0 ./nenoform '!a' '!a'
|
||||
run 0 ./nenoform 'a U b' 'a U b'
|
||||
run 0 ./nenoform 'a & b' 'a & b'
|
||||
run 0 ./nenoform 'a & b' 'b & a'
|
||||
run 0 ./nenoform 'a & !b & c' 'c & a & !b'
|
||||
run 0 ./nenoform 'a & b & c' 'b & c & a'
|
||||
run 0 ./nenoform 'Xa & b & Xa' 'b & Xa & b'
|
||||
run 0 ./nenoform 'a & b' 'b & a & b'
|
||||
run 0 ./nenoform 'a & !b' '!b & a & a'
|
||||
run 0 ./nenoform 'a & b & (Xc |(f U !g)| e)' 'b & a & a & (Xc | e |(f U !g)| e | Xc) & b'
|
||||
run 0 ./nenoform 'GFa => FGb' 'GFa => FGb'
|
||||
|
||||
# Basic rewritings
|
||||
./nenoform '!!a' 'a'
|
||||
./nenoform '!!!!!a' '!a'
|
||||
./nenoform '!Xa' 'X!a'
|
||||
./nenoform '!Fa' 'G!a'
|
||||
./nenoform '!Ga' 'F!a'
|
||||
./nenoform '!(a ^ b)' 'a <=> b'
|
||||
./nenoform '!(a <=> b)' '(((a) ^ (b)))'
|
||||
./nenoform '!(a => b)' 'a&!b'
|
||||
./nenoform '!(!a => !b)' '!a&b'
|
||||
./nenoform '!(a U b)' '!a R !b'
|
||||
./nenoform '!(a R b)' '!a U !b'
|
||||
./nenoform '!(!a R !b)' 'a U b'
|
||||
./nenoform '!(a & b & c & d & b)' '!a | !b | !c | !d'
|
||||
./nenoform '!(a | b | c | d)' '!a & !b & !c & !d'
|
||||
run 0 ./nenoform '!!a' 'a'
|
||||
run 0 ./nenoform '!!!!!a' '!a'
|
||||
run 0 ./nenoform '!Xa' 'X!a'
|
||||
run 0 ./nenoform '!Fa' 'G!a'
|
||||
run 0 ./nenoform '!Ga' 'F!a'
|
||||
run 0 ./nenoform '!(a ^ b)' 'a <=> b'
|
||||
run 0 ./nenoform '!(a <=> b)' '(((a) ^ (b)))'
|
||||
run 0 ./nenoform '!(a => b)' 'a&!b'
|
||||
run 0 ./nenoform '!(!a => !b)' '!a&b'
|
||||
run 0 ./nenoform '!(a U b)' '!a R !b'
|
||||
run 0 ./nenoform '!(a R b)' '!a U !b'
|
||||
run 0 ./nenoform '!(!a R !b)' 'a U b'
|
||||
run 0 ./nenoform '!(a & b & c & d & b)' '!a | !b | !c | !d'
|
||||
run 0 ./nenoform '!(a | b | c | d)' '!a & !b & !c & !d'
|
||||
|
||||
# Nested rewritings
|
||||
./nenoform '!(a U (!b U ((a & b & c) R d)))' '!a R (b R ((!a | !b | !c) U !d))'
|
||||
./nenoform '!(GF a => FG b)' 'GFa & GF!b'
|
||||
run 0 ./nenoform '!(a U (!b U ((a & b & c) R d)))' '!a R (b R ((!a | !b | !c) U !d))'
|
||||
run 0 ./nenoform '!(GF a => FG b)' 'GFa & GF!b'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue