last test fixed, ruby layer complete

This commit is contained in:
Torsten Ruger
2018-07-20 21:27:55 +03:00
parent b00b0cf064
commit f620f0fd74
3 changed files with 2 additions and 19 deletions

View File

@ -14,6 +14,7 @@ module Risc
assert !@pos.valid?
end
def test_next_slot
Parfait.boot!
mov = Arm::ArmMachine.mov(:r1 , :r1)
position = Position.new(mov ).set(0)
assert_equal 4, position.next_slot