2017-01-11 18:18:04 +01:00
|
|
|
require_relative 'helper'
|
|
|
|
|
2017-01-17 23:05:36 +01:00
|
|
|
module Rubyx
|
2017-01-11 18:18:04 +01:00
|
|
|
class TestManyItos < MiniTest::Test
|
2017-01-17 23:05:36 +01:00
|
|
|
include RubyxTests
|
2017-01-11 18:18:04 +01:00
|
|
|
|
|
|
|
def pest_ruby_itos_looping
|
|
|
|
@string_input = <<HERE
|
|
|
|
counter = 100000
|
|
|
|
|
|
|
|
while(counter > 0) do
|
|
|
|
str = counter.to_s
|
|
|
|
counter = counter - 1
|
|
|
|
end
|
|
|
|
str
|
|
|
|
HERE
|
|
|
|
@length = 37
|
2017-08-29 17:38:51 +02:00
|
|
|
@stdout = "Hello Raisa, I am rubyx"
|
2017-01-11 18:18:04 +01:00
|
|
|
check
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|