rubyx/test/melon/test_loop.rb
Torsten Ruger 27a7657842 add parser and basic test framework
that doesnt actually do anything. but WILL, great things, off course
2015-12-01 11:55:33 +02:00

18 lines
246 B
Ruby

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