misc to_s and small fixes

This commit is contained in:
Torsten Ruger
2018-07-04 08:28:29 +03:00
parent 8b9fd29ce9
commit 6f936f190d
13 changed files with 46 additions and 21 deletions

View File

@ -54,7 +54,7 @@ module Risc
end
def test_pc1
@interpreter.tick
assert_equal 21304 , @interpreter.pc
assert_equal 21432 , @interpreter.pc
end
def test_tick2
@interpreter.tick
@ -68,7 +68,7 @@ module Risc
def test_pc2
@interpreter.tick
@interpreter.tick
assert_equal 21308 , @interpreter.pc
assert_equal 21436 , @interpreter.pc
end
def test_tick_14_jump
14.times {@interpreter.tick}