rubyx/test/fragments/test_hello.rb

18 lines
432 B
Ruby
Raw Normal View History

require_relative 'helper'
class TestHello < MiniTest::Test
include Fragments
def test_hello
@string_input = <<HERE
2014-07-17 01:26:13 +02:00
"Hello Raisa, I am kide".putstring()
HERE
2014-06-12 08:07:03 +02:00
@should = [0x0,0x40,0x2d,0xe9,0x1,0x0,0xa0,0xe3,0x2,0x10,0xa0,0xe1,0x3,0x20,0xa0,0xe1,0x4,0x70,0xa0,0xe3,0x0,0x0,0x0,0xef,0x0,0x80,0xbd,0xe8]
2014-07-17 01:26:13 +02:00
@output = "Hello Raisa, I am kide "
@target = [:Object , :putstring]
parse
write "hello"
end
end