move soml tests out, small cleanup
This commit is contained in:
24
stash/soml/fragments/test_class.rb
Normal file
24
stash/soml/fragments/test_class.rb
Normal file
@ -0,0 +1,24 @@
|
||||
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 Space
|
||||
int main()
|
||||
return 1
|
||||
end
|
||||
end
|
||||
HERE
|
||||
@length = 15
|
||||
check
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user