rename layout to type

this one goes to caleb for pointing it out.
Much better word
This commit is contained in:
Torsten Ruger
2016-02-25 11:50:10 -08:00
parent 3480b97eaa
commit d32b51c67b
39 changed files with 328 additions and 328 deletions

View File

@ -6,19 +6,19 @@ class TestPositioning < MiniTest::Test
end
def test_list1
list = Parfait.new_list([1])
list.set_layout( Parfait::Layout.new Object)
list.set_type( Parfait::Type.new Object)
assert_equal 32 , list.padded_length
end
def test_list5
list = Parfait.new_list([1,2,3,4,5])
list.set_layout( Parfait::Layout.new Object)
list.set_type( Parfait::Type.new Object)
assert_equal 32 , list.padded_length
end
def test_layout
layout = Parfait::Layout.new Object
layout.set_layout( Parfait::Layout.new Object)
layout.push 5
assert_equal 32 , layout.padded_length
def test_type
type = Parfait::Type.new Object
type.set_type( Parfait::Type.new Object)
type.push 5
assert_equal 32 , type.padded_length
end
def test_word
word = Parfait::Word.new(12)