rubyx/test/fragments/test_foo.rb
2015-09-27 19:07:56 +03:00

20 lines
235 B
Ruby

require_relative 'helper'
class TestFoo < MiniTest::Test
include Fragments
def test_foo2
@string_input = <<HERE
int foo(int x)
int a = 5
return a
end
foo( 4 )
HERE
@expect = [ Virtual::Return ]
check
end
end