rubyx/test/soml/fragments/test_word.rb

26 lines
318 B
Ruby
Raw Normal View History

2015-11-06 23:13:57 +01:00
require_relative 'helper'
module Soml
2015-11-06 23:13:57 +01:00
class TestWord < MiniTest::Test
include Fragments
2015-11-16 17:02:13 +01:00
def test_word_new
2015-11-06 23:13:57 +01:00
@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
2015-11-06 23:13:57 +01:00
@stdout = ""
check
end
end
end