rubyx/test/compiler/fragments/test_class.rb
Torsten Ruger 2094101bb2 clearer organization for compiler tests
was slightly messy with small/large
now needed different test for expression and statements
2015-10-14 21:49:05 +03:00

20 lines
274 B
Ruby

require_relative 'helper'
class TestBasicClass < MiniTest::Test
include Fragments
def test_class_basic
@string_input = <<HERE
class Bar
int buh()
return 1
end
end
HERE
@expect = [ [Virtual::MethodEnter] ,[Virtual::MethodReturn]]
check
end
end