2015-11-07 00:13:57 +02:00
|
|
|
require_relative 'helper'
|
|
|
|
|
2017-01-14 19:28:44 +02:00
|
|
|
module Vm
|
2015-11-07 00:13:57 +02:00
|
|
|
class TestWord < MiniTest::Test
|
|
|
|
include Fragments
|
|
|
|
|
2015-11-16 18:02:13 +02:00
|
|
|
def test_word_new
|
2015-11-07 00:13:57 +02:00
|
|
|
@string_input = <<HERE
|
2015-11-30 16:20:39 +02:00
|
|
|
class Space
|
2015-11-07 00:13:57 +02:00
|
|
|
Word self.new()
|
|
|
|
return nil
|
|
|
|
end
|
|
|
|
end
|
2015-11-30 16:20:39 +02:00
|
|
|
class Space
|
2015-11-07 00:13:57 +02:00
|
|
|
int main()
|
|
|
|
Word w = Word.new()
|
|
|
|
end
|
|
|
|
end
|
|
|
|
HERE
|
2015-11-07 22:20:21 +02:00
|
|
|
@length = 34
|
2015-11-07 00:13:57 +02:00
|
|
|
@stdout = ""
|
|
|
|
check
|
|
|
|
end
|
|
|
|
end
|
2015-11-18 13:04:57 +02:00
|
|
|
end
|