rubyx/test/melon/test_loop.rb

18 lines
246 B
Ruby
Raw Normal View History

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