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 16:11:03 +01:00
|
|
|
Word five = 5.to_s()
|
|
|
|
five.putstring()
|
2015-11-08 13:30:42 +01:00
|
|
|
HERE
|
|
|
|
@stdout = "5"
|
|
|
|
check
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
end
|