18f9ea019e
after renaming compiler to soml it’s where they wanna be also will allow for unifying test helpers and testing fragments remotely too
25 lines
290 B
Ruby
25 lines
290 B
Ruby
require_relative 'helper'
|
|
|
|
module Register
|
|
class TestBasicClass < MiniTest::Test
|
|
include Fragments
|
|
|
|
def test_class_def
|
|
@string_input = <<HERE
|
|
class Bar
|
|
int buh()
|
|
return 1
|
|
end
|
|
end
|
|
class Object
|
|
int main()
|
|
return 1
|
|
end
|
|
end
|
|
HERE
|
|
@length = 15
|
|
check
|
|
end
|
|
end
|
|
end
|