Checked and added last two tests

This commit is contained in:
Thomas Ave 2016-05-30 21:29:12 +02:00
parent 05e49a9fba
commit 75257e76fb
8 changed files with 49 additions and 0 deletions

23
tests/test_1.enfa Normal file
View File

@ -0,0 +1,23 @@
digraph {
rankdir=LR
in [shape=point style=invis]
0 [color=yellow label="0"]
1 [label="1"]
2 [label="2"]
3 [label="3"]
4 [color=green shape=doublecircle label="4\np=0\nac=0"]
2 -> 3 [label="D"]
2 -> 3 [label="E"]
2 -> 3 [label="F"]
2 -> 3 [label="a"]
2 -> 3 [label="b"]
2 -> 3 [label="c"]
2 -> 3 [label="d"]
0 -> 1 [label="ε"]
1 -> 2 [label="ε"]
1 -> 4 [label="ε"]
3 -> 2 [label="ε"]
3 -> 4 [label="ε"]
in -> 0
}

BIN
tests/test_1.min Normal file

Binary file not shown.

BIN
tests/test_1.mssc Normal file

Binary file not shown.

1
tests/test_1.re Normal file
View File

@ -0,0 +1 @@
([DEFabcd])*

22
tests/test_6.enfa Normal file
View File

@ -0,0 +1,22 @@
digraph {
rankdir=LR
in [shape=point style=invis]
0 [color=yellow label="0"]
1 [label="1"]
2 [color=green shape=doublecircle label="2\np=0\nac=0"]
3 [label="3"]
4 [color=green shape=doublecircle label="4\np=1\nac=1"]
5 [label="5"]
6 [color=green shape=doublecircle label="6\np=2\nac=2"]
1 -> 2 [label=" "]
1 -> 2 [label="^"]
3 -> 4 [label=" "]
5 -> 6 [label="-"]
5 -> 6 [label="]"]
5 -> 6 [label="^"]
0 -> 1 [label="ε"]
0 -> 3 [label="ε"]
0 -> 5 [label="ε"]
in -> 0
}

BIN
tests/test_6.min Normal file

Binary file not shown.

BIN
tests/test_6.mssc Normal file

Binary file not shown.

3
tests/test_6.re Normal file
View File

@ -0,0 +1,3 @@
[ ^]
[ ]
[-]^]