2015-09-27 19:28:34 +02:00
|
|
|
require_relative 'helper'
|
|
|
|
|
2015-10-25 11:31:35 +01:00
|
|
|
module Register
|
2015-09-27 19:28:34 +02:00
|
|
|
class TestBasicClass < MiniTest::Test
|
|
|
|
include Fragments
|
|
|
|
|
2015-10-25 11:31:35 +01:00
|
|
|
def test_class_def
|
2015-09-27 19:28:34 +02:00
|
|
|
@string_input = <<HERE
|
2015-10-09 17:06:00 +02:00
|
|
|
class Bar
|
|
|
|
int buh()
|
|
|
|
return 1
|
2015-09-27 19:28:34 +02:00
|
|
|
end
|
|
|
|
end
|
2015-10-25 11:31:35 +01:00
|
|
|
class Object
|
|
|
|
int main()
|
|
|
|
return 1
|
|
|
|
end
|
|
|
|
end
|
2015-09-27 19:28:34 +02:00
|
|
|
HERE
|
2015-11-03 10:23:58 +01:00
|
|
|
@length = 18
|
2015-09-27 19:28:34 +02:00
|
|
|
check
|
|
|
|
end
|
2015-10-25 11:31:35 +01:00
|
|
|
end
|
2015-09-27 19:28:34 +02:00
|
|
|
end
|