* configure.ac: Output src/tgbatest/Makefile and src/tgbatest/defs.
* src/Makefile.am (SUBDIRS): Add tgbatest. * src/tgba/tgbaexplicit.hh, src/tgba/tgbaexplicit.cc: New file. * src/tgba/Makefile.am (libtgba_la_SOURCES): Add tgbaexplicit.cc and tgbaexplicit.hh. * src/tgbatest/Makefile.am, src/tgbatest/defs.in, src/tgbatest/explicit.cc, src/tgbatest/explicit.test: New files.
This commit is contained in:
parent
b8bb100521
commit
80dd0ae140
12 changed files with 417 additions and 4 deletions
25
src/tgbatest/explicit.test
Executable file
25
src/tgbatest/explicit.test
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
#!/bin/sh
|
||||
|
||||
. ./defs
|
||||
|
||||
set -e
|
||||
|
||||
./explicit > stdout
|
||||
|
||||
cat >expected <<EOF
|
||||
digraph G {
|
||||
size="7.26,10.69"
|
||||
0 [label="", style=invis]
|
||||
1 [label="state 0"]
|
||||
0 -> 1
|
||||
2 [label="state 1"]
|
||||
1 -> 2 [label="T\n<Prom[p]:1, Prom[q]:1>"]
|
||||
3 [label="state 2"]
|
||||
2 -> 3 [label="<a:1>\n<Prom[r]:1>"]
|
||||
3 -> 1 [label="<b:1, c:1>\nT"]
|
||||
}
|
||||
EOF
|
||||
|
||||
diff stdout expected
|
||||
|
||||
rm stdout expected
|
||||
Loading…
Add table
Add a link
Reference in a new issue