more messages for recursive fibs
This commit is contained in:
parent
4014ad27fe
commit
aad50021fe
@ -171,6 +171,7 @@ module Interpreter
|
||||
end
|
||||
|
||||
def execute_OperatorInstruction
|
||||
#puts @instruction
|
||||
left = get_register(@instruction.left)
|
||||
rr = @instruction.right
|
||||
right = get_register(rr)
|
||||
|
@ -27,7 +27,9 @@ class Object
|
||||
end
|
||||
end
|
||||
HERE
|
||||
@length = 82
|
||||
@length = 6594
|
||||
check
|
||||
assert_equal Parfait::Message , @interpreter.get_register(:r1).class
|
||||
#TODO, works in the gui?? assert_equal 55 , @interpreter.get_register(:r1).return_value
|
||||
end
|
||||
end
|
||||
|
@ -61,7 +61,7 @@ class TestSpace < MiniTest::Test
|
||||
end
|
||||
assert_equal all.length , all.uniq.length
|
||||
# there is a 5.times in space, but one Message gets created before
|
||||
assert_equal 5 + 1 , all.length
|
||||
assert_equal 50 + 1 , all.length
|
||||
end
|
||||
def test_message_vars
|
||||
mess = @machine.space.first_message
|
||||
|
Loading…
Reference in New Issue
Block a user