Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Commit

Permalink
add Lex.dfa test data
Browse files Browse the repository at this point in the history
  • Loading branch information
WalkerCodeRanger committed Feb 25, 2016
1 parent ca36990 commit 522b2c9
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 2 deletions.
12 changes: 10 additions & 2 deletions RunAllTestData.bat
@@ -1,6 +1,14 @@
del /F Results\*.dfa
set RUST_BACKTRACE=1

ECHO Running for Sample.dfa
Cpp\Debug\Original.exe < TestData\Sample.dfa > Results\Sample.Original.min.dfa
Cpp\Debug\Modified.exe < TestData\Sample.dfa > Results\Sample.Modified.min.dfa
CSharp\CSharp\bin\Debug\CSharp.exe < TestData\Sample.dfa > Results\Sample.CSharp.min.dfa
set RUST_BACKTRACE=1
Rust\target\debug\dfa_min_comparison_rust.exe < TestData\Sample.dfa > Results\Sample.Rust.min.dfa
Rust\target\debug\dfa_min_comparison_rust.exe < TestData\Sample.dfa > Results\Sample.Rust.min.dfa

ECHO Running for Lex.dfa
Cpp\Debug\Original.exe < TestData\Lex.dfa > Results\Lex.Original.min.dfa
Cpp\Debug\Modified.exe < TestData\Lex.dfa > Results\Lex.Modified.min.dfa
CSharp\CSharp\bin\Debug\CSharp.exe < TestData\Lex.dfa > Results\Lex.CSharp.min.dfa
Rust\target\debug\dfa_min_comparison_rust.exe < TestData\Lex.dfa > Results\Lex.Rust.min.dfa
44 changes: 44 additions & 0 deletions TestData/Lex.dfa
@@ -0,0 +1,44 @@
4 40 0 3
0 0 1
0 1 1
0 2 2
0 3 1
0 4 1
0 5 1
0 6 1
0 7 1
0 8 1
0 9 1
1 0 3
1 1 3
1 2 3
1 3 3
1 4 3
1 5 3
1 6 3
1 7 3
1 8 3
1 9 3
2 0 3
2 1 3
2 2 3
2 3 3
2 4 3
2 5 3
2 6 3
2 7 3
2 8 3
2 9 3
3 0 3
3 1 3
3 2 3
3 3 3
3 4 3
3 5 3
3 6 3
3 7 3
3 8 3
3 9 3
0
1
2

0 comments on commit 522b2c9

Please sign in to comment.