2015-11-06 23:13:57 +01:00
|
|
|
require_relative 'helper'
|
|
|
|
|
2016-12-08 18:39:16 +01:00
|
|
|
module Typed
|
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
|
2015-11-30 15:20:39 +01:00
|
|
|
class Space
|
2015-11-06 23:13:57 +01:00
|
|
|
Word self.new()
|
|
|
|
return nil
|
|
|
|
end
|
|
|
|
end
|
2015-11-30 15:20:39 +01:00
|
|
|
class Space
|
2015-11-06 23:13:57 +01:00
|
|
|
int main()
|
|
|
|
Word w = Word.new()
|
|
|
|
end
|
|
|
|
end
|
|
|
|
HERE
|
2015-11-07 21:20:21 +01:00
|
|
|
@length = 34
|
2015-11-06 23:13:57 +01:00
|
|
|
@stdout = ""
|
|
|
|
check
|
|
|
|
end
|
|
|
|
end
|
2015-11-18 12:04:57 +01:00
|
|
|
end
|