fixes outstanding misc, All green

Well. it's been a while, positioning is fixed (again)
apart from the upcoming BranchListener
This commit is contained in:
Torsten Ruger
2018-06-10 13:19:55 +03:00
parent e1683938ed
commit 5ec235d049
7 changed files with 11 additions and 11 deletions

View File

@ -12,11 +12,11 @@ module Risc
def test_bin_propagates_existing
@binary.extend_to(16)
CodeListener.init( @binary , 0 )
CodeListener.init( @binary).set(0)
assert_equal @binary.padded_length , Position.get(@binary.next).at
end
def test_bin_propagates_after
CodeListener.init( @binary , 0 )
CodeListener.init( @binary).set(0)
@binary.extend_to(16)
assert_equal @binary.padded_length , Position.get(@binary.next).at
end