move putstring to use builder

This commit is contained in:
Torsten Ruger
2018-08-15 17:52:21 +03:00
parent e953cc90d5
commit 15337e10be
3 changed files with 16 additions and 19 deletions

View File

@ -17,5 +17,10 @@ module Minitest
assert_equal( clazz , load.constant.class) if clazz
assert_equal( register , load.register.symbol, "wrong destination register") if register
end
def assert_transfer( transfer , from , to)
assert_equal Risc::Transfer , transfer.class
assert_equal from , transfer.from.symbol
assert_equal to , transfer.to.symbol
end
end
end