fix that silly mistake that made the percentage plummet

mostly due to the fact that object is a hash now,
not array. Took a while though
This commit is contained in:
Torsten Ruger
2015-07-21 19:41:30 +03:00
parent 2d0424a370
commit e3577d18af
11 changed files with 28 additions and 29 deletions

View File

@ -3,7 +3,7 @@ require_relative "test_foo"
require_relative "test_if"
require_relative "test_functions"
require_relative "test_string_class"
#require_relative "test_hello"
require_relative "test_hello"
#require_relative "test_putint"
require_relative "test_recursive_fibo"
require_relative "test_while_fibo"

View File

@ -7,11 +7,7 @@ class TestHello < MiniTest::Test
@string_input = <<HERE
"Hello Raisa, I am salama".putstring()
HERE
@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]
@output = "Hello Raisa, I am salama "
@target = [:Object , :putstring]
parse
write "hello"
@expect = []
check
end
end