7daaec6a0a
so that we can test fragments remotely too
26 lines
318 B
Ruby
26 lines
318 B
Ruby
require_relative 'helper'
|
|
|
|
module Soml
|
|
class TestWord < MiniTest::Test
|
|
include Fragments
|
|
|
|
def test_word_new
|
|
@string_input = <<HERE
|
|
class Object
|
|
Word self.new()
|
|
return nil
|
|
end
|
|
end
|
|
class Object
|
|
int main()
|
|
Word w = Word.new()
|
|
end
|
|
end
|
|
HERE
|
|
@length = 34
|
|
@stdout = ""
|
|
check
|
|
end
|
|
end
|
|
end
|