dra2ba: Use tgba_digraph.

* src/dstarparse/dra2ba.cc: Use tgba_digraph instead of
tgba_explicit_number.
* src/tgbatest/dstar.test: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2014-08-05 16:33:37 +02:00
parent 9923cbaae0
commit f9d85d7d2e
2 changed files with 21 additions and 24 deletions

View file

@ -82,10 +82,10 @@ cat >expected <<EOF
digraph G {
0 [label="", style=invis, height=0]
0 -> 1
1 [label="1"]
1 [label="0"]
1 -> 1 [label="a & !b\n"]
1 -> 2 [label="b\n"]
2 [label="2", peripheries=2]
2 [label="1", peripheries=2]
2 -> 2 [label="1\n{Acc[1]}"]
}
EOF
@ -213,22 +213,22 @@ cat >expected <<EOF
digraph G {
0 [label="", style=invis, height=0]
0 -> 1
1 [label="1"]
1 [label="0"]
1 -> 2 [label="!a & !b\n"]
1 -> 3 [label="a & !b\n"]
1 -> 4 [label="!a & b\n"]
1 -> 5 [label="a & b\n"]
2 [label="2"]
2 [label="1"]
2 -> 2 [label="!b\n"]
2 -> 4 [label="b\n"]
3 [label="4", peripheries=2]
3 [label="2", peripheries=2]
3 -> 2 [label="!a & !b\n{Acc[1]}"]
3 -> 3 [label="a & !b\n{Acc[1]}"]
3 -> 4 [label="!a & b\n{Acc[1]}"]
3 -> 5 [label="a & b\n{Acc[1]}"]
4 [label="3", peripheries=2]
4 -> 4 [label="1\n{Acc[1]}"]
5 [label="5", peripheries=2]
5 [label="4", peripheries=2]
5 -> 4 [label="!a\n{Acc[1]}"]
5 -> 5 [label="a\n{Acc[1]}"]
}