add parser and basic test framework

that doesnt actually do anything. but WILL, great things, off course
This commit is contained in:
Torsten Ruger
2015-12-01 11:55:33 +02:00
parent b9d2508370
commit 27a7657842
9 changed files with 192 additions and 0 deletions

17
test/melon/test_loop.rb Normal file
View File

@@ -0,0 +1,17 @@
require_relative 'helper'
class TestRubyLoop < MiniTest::Test
include MelonTests
def test_ruby_loop
@string_input = <<HERE
counter = 100000
while(counter > 0) do
counter -= 1
end
HERE
@stdout = "Hello there"
check
end
end