moving know_object out of the base class

object is only common to constant and object slots (which should be unified)
On the way to making the array recursive
This commit is contained in:
2020-02-15 15:26:49 +07:00
parent 6aa6b32c50
commit 8b29326957
6 changed files with 32 additions and 35 deletions

View File

@ -1 +1,9 @@
require_relative '../helper'
module SlotMachine
class InstructionMock < Instruction
def initialize
super("mocking")
end
end
end

View File

@ -1,11 +1,6 @@
require_relative '../helper'
module SlotMachine
class InstructionMock < Instruction
def initialize
super("mocking")
end
end
# Most SlotMachineInstructionTests test the risc instructions of the slot instruction
# quite carefully, ie every instruction, every register.