2094101bb2
was slightly messy with small/large now needed different test for expression and statements
20 lines
274 B
Ruby
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
|