use instruction steam from message

had been attached there last week, but was still used mainly through
the source (which i’m trying to remove)
This commit is contained in:
Torsten Ruger
2015-10-28 14:33:38 +02:00
parent 72b790c107
commit ef6cb2a069
7 changed files with 17 additions and 14 deletions

View File

@ -10,8 +10,8 @@ module Statements
produced = Register.machine.space.get_main.source
assert @expect , "No output given"
#assert_equal @expect.length , produced.instructions.length , "instructions length #{produced.instructions.to_ac}"
compare_instructions produced.instructions , @expect
produced.instructions
compare_instructions produced.method.instructions , @expect
produced.method.instructions
end
def compare_instructions instruction , expect