.gitignore, first test added.

pull/2/head
Denis Knauf 2012-12-09 13:27:06 +01:00
parent bc01c2c8b8
commit ea746a749a
2 changed files with 7 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.swp

6
tests/optimizer.rb Normal file
View File

@ -0,0 +1,6 @@
class OptimizerTest < Test::Unit::TestCase
context "Optimizer" do
should "optimize many charblocks to one charblock" do
/[a-dt-z]/.to_s == RegExpr[ main: '[a-d] | [t-z]'].to_r.to_s
end
end