bb908dcf76
and fix all the tests that affects
23 lines
273 B
Ruby
23 lines
273 B
Ruby
require_relative 'helper'
|
|
|
|
class TestPutint < MiniTest::Test
|
|
include Fragments
|
|
|
|
def test_putint
|
|
@string_input = <<HERE
|
|
class Integer
|
|
int putint()
|
|
return 1
|
|
end
|
|
end
|
|
class Object
|
|
int main()
|
|
42.putint()
|
|
end
|
|
end
|
|
HERE
|
|
@length = 32
|
|
check
|
|
end
|
|
end
|