stab at inter to string
wip
This commit is contained in:
@ -5,7 +5,8 @@ class TestPutiRT < MiniTest::Test
|
||||
|
||||
def test_puti
|
||||
@string_input = <<HERE
|
||||
5.puts()
|
||||
Word five = 5.to_s()
|
||||
five.putstring()
|
||||
HERE
|
||||
@stdout = "5"
|
||||
check
|
||||
|
@ -9,7 +9,7 @@ class TestObject < MiniTest::Test
|
||||
def test_object_create
|
||||
# another test sometime adds a field variable. Maybe should reboot ?
|
||||
res = 1
|
||||
[:boo1 , :boo2 , :runner].each { |v| res += 1 if @object.get_layout.variable_index(v) }
|
||||
[:boo1 , :boo2 , :bro , :runner].each { |v| res += 1 if @object.get_layout.variable_index(v) }
|
||||
assert_equal res , @object.get_layout.instance_length , @object.get_layout.inspect
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user