rubyx/test/melon/fragments/test_hello.rb
2017-01-15 20:30:47 +02:00

16 lines
331 B
Ruby

require_relative 'helper'
module Melon
class TestRubyHello < MiniTest::Test
include MelonTests
def test_ruby_hello
@string_input = in_Space 'def puts(str) ; str.putstring; end ; def main; putstring "Hello there"; end'
assert !check
assert_equal "Hello there" , @interpreter.stdout
end
end
end