rubyx/test/melon/fragments/test_loop.rb

20 lines
287 B
Ruby

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