add parser and basic test framework
that doesnt actually do anything. but WILL, great things, off course
This commit is contained in:
17
test/melon/test_loop.rb
Normal file
17
test/melon/test_loop.rb
Normal 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
|
Reference in New Issue
Block a user