define modules and tests, no compiling

This commit is contained in:
Torsten Ruger
2014-05-29 15:57:33 +03:00
parent d59370bdc7
commit c69a44f316
9 changed files with 131 additions and 16 deletions

View File

@@ -37,9 +37,9 @@ module ParserHelper
# check that @string_input parses and transforms to @transform_output
def check_ast
syntax = @parser.parse(@string_input)
tree = @transform.apply(syntax)
# puts tree.inspect
assert_equal @transform_output , tree
is = @transform.apply(syntax)
#puts is.inspect
assert_equal @transform_output , is
end
end