adding types to layout

so we can test assignment
This commit is contained in:
Torsten Ruger
2015-10-29 12:45:29 +02:00
parent e4201143b3
commit 7d7b7ca995
7 changed files with 51 additions and 38 deletions

View File

@ -13,7 +13,7 @@ class TestPositioning < MiniTest::Test
list = Register.new_list([1,2,3,4,5])
list.set_layout( Parfait::Layout.new Object)
# TODO check why this is 64 and not 32
assert_equal 32 , list.word_length
assert_equal 64 , list.word_length
end
def test_layout
layout = Parfait::Layout.new Object