This commit is contained in:
Torsten Ruger
2018-07-30 10:26:47 +03:00
parent 2dc03f8d1b
commit 165036ea39
6 changed files with 8 additions and 16 deletions

View File

@ -54,7 +54,7 @@ module Risc
end
def test_pc1
@interpreter.tick
assert_equal 22968 , @interpreter.pc
assert_equal 23736 , @interpreter.pc
end
def test_tick2
@interpreter.tick
@ -68,7 +68,7 @@ module Risc
def test_pc2
@interpreter.tick
@interpreter.tick
assert_equal 22972 , @interpreter.pc
assert_equal 23740 , @interpreter.pc
end
def test_tick_14_jump
14.times {@interpreter.tick}