rubyx/test/compiler/fragments/test_class.rb

20 lines
274 B
Ruby
Raw Normal View History

2015-09-27 19:28:34 +02:00
require_relative 'helper'
class TestBasicClass < MiniTest::Test
include Fragments
def test_class_basic
@string_input = <<HERE
class Bar
int buh()
return 1
2015-09-27 19:28:34 +02:00
end
end
HERE
2015-10-09 20:53:22 +02:00
@expect = [ [Virtual::MethodEnter] ,[Virtual::MethodReturn]]
2015-09-27 19:28:34 +02:00
check
end
end