2014-05-21 20:13:12 +02:00
|
|
|
require_relative 'helper'
|
|
|
|
|
|
|
|
class TestHello < MiniTest::Test
|
|
|
|
include Fragments
|
|
|
|
|
|
|
|
def test_hello
|
|
|
|
@string_input = <<HERE
|
2015-11-30 15:20:39 +01:00
|
|
|
class Space
|
2015-10-05 23:27:13 +02:00
|
|
|
int main()
|
2017-08-29 17:38:51 +02:00
|
|
|
"Hello Raisa, I am rubyx".putstring()
|
2015-10-05 23:27:13 +02:00
|
|
|
end
|
|
|
|
end
|
2014-05-21 20:13:12 +02:00
|
|
|
HERE
|
2015-11-16 17:02:13 +01:00
|
|
|
@length = 37
|
2017-08-29 17:38:51 +02:00
|
|
|
@stdout = "Hello Raisa, I am rubyx"
|
2015-07-21 18:41:30 +02:00
|
|
|
check
|
2014-05-21 20:13:12 +02:00
|
|
|
end
|
|
|
|
end
|