diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-31 00:37:45 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-31 00:37:45 +0000 |
commit | 711c067eb52e76bbaaf3a70a5b75e52a82a55ce1 (patch) | |
tree | 3fb6efcad87c86e742f3d9cd084fce8c9390e4a9 /test/dl | |
parent | 40cf3e0cca0a347bf8b6b44832fdcc358e068630 (diff) |
* test/dl/test_c_struct_entry.rb: Removed duplicated test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/dl')
-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] } |