2015-11-08 13:30:42 +01:00
|
|
|
require_relative 'helper'
|
|
|
|
|
|
|
|
class TestPutiRT < MiniTest::Test
|
|
|
|
include RuntimeTests
|
|
|
|
|
|
|
|
def test_puti
|
|
|
|
@string_input = <<HERE
|
2015-11-08 22:58:54 +01:00
|
|
|
Word five = 4.to_s()
|
2015-11-08 16:11:03 +01:00
|
|
|
five.putstring()
|
2015-11-08 13:30:42 +01:00
|
|
|
HERE
|
|
|
|
@stdout = "5"
|
|
|
|
check
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
end
|