diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/dl/test_c_struct_entry.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/dl/test_c_struct_entry.rb b/test/dl/test_c_struct_entry.rb index 3df6c368b8..b83cde85e0 100644 --- a/test/dl/test_c_struct_entry.rb +++ b/test/dl/test_c_struct_entry.rb @@ -24,11 +24,6 @@ class DL::TestCStructEntity < DL::TestBase def test_class_size_with_count size = DL::CStructEntity.size([[DL::TYPE_DOUBLE, 2], [DL::TYPE_CHAR, 20]]) - assert_equal DL::TYPE_DOUBLE * 2 + DL::SIZEOF_CHAR * 20, size - end - def test_class_size_with_count - size = DL::CStructEntity.size([[DL::TYPE_DOUBLE, 2], [DL::TYPE_CHAR, 20]]) - types = [DL::TYPE_DOUBLE, DL::TYPE_CHAR] alignments = types.map { |type| DL::PackInfo::ALIGN_MAP[type] } |