finally change List to derive from data object

can’t derive from data16 as some lists are longer
have to get the delegation to work first
This commit is contained in:
Torsten Ruger
2018-05-28 15:45:29 +03:00
parent f9a89db10c
commit 8ef1a471a4
7 changed files with 33 additions and 52 deletions

View File

@ -29,7 +29,7 @@ module Parfait
assert_equal 0, @list.indexed_length
end
def test_offset
assert_equal 2 , @list.get_offset
assert_equal 2 , @list.class.type_length
end
def test_indexed_index
# 0 type , 1 indexed_length