fix positioning and the assembly works

This commit is contained in:
Torsten Ruger
2018-03-29 18:03:21 +03:00
parent 34b16a2332
commit e012f16d7f
6 changed files with 33 additions and 21 deletions

View File

@ -6,10 +6,10 @@ module Risc
def setup
@machine = Risc.machine.boot
end
def est_init
def test_init
@assembler = Assembler.new(@machine)
end
def est_write_fails
def test_write_fails
@assembler = Assembler.new(@machine)
assert_raises{ @assembler.write_as_string} #must translate first
end