23 lines
272 B
Ruby
23 lines
272 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 Space
|
|
int main()
|
|
42.putint()
|
|
end
|
|
end
|
|
HERE
|
|
@length = 32
|
|
check
|
|
end
|
|
end
|