rubyx/test/fragments/test_hello.rb

18 lines
436 B
Ruby
Raw Normal View History

require_relative 'helper'
class TestHello < MiniTest::Test
include Fragments
def test_hello
@string_input = <<HERE
2014-07-29 17:33:11 +02:00
"Hello Raisa, I am salama".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-29 17:33:11 +02:00
@output = "Hello Raisa, I am salama "
@target = [:Object , :putstring]
parse
write "hello"
end
end