2014-05-21 21:13:12 +03:00
|
|
|
require_relative 'helper'
|
|
|
|
|
|
|
|
class TestHello < MiniTest::Test
|
|
|
|
include Fragments
|
|
|
|
|
|
|
|
def test_hello
|
|
|
|
@string_input = <<HERE
|
2015-11-30 16:20:39 +02:00
|
|
|
class Space
|
2015-10-06 00:27:13 +03:00
|
|
|
int main()
|
|
|
|
"Hello Raisa, I am salama".putstring()
|
|
|
|
end
|
|
|
|
end
|
2014-05-21 21:13:12 +03:00
|
|
|
HERE
|
2015-11-16 18:02:13 +02:00
|
|
|
@length = 37
|
2015-10-27 11:00:48 +02:00
|
|
|
@stdout = "Hello Raisa, I am salama"
|
2015-07-21 19:41:30 +03:00
|
|
|
check
|
2014-05-21 21:13:12 +03:00
|
|
|
end
|
|
|
|
end
|