1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
drbrain 2012-05-31 00:37:45 +00:00
parent 40cf3e0cca
commit 711c067eb5

View file

@ -21,11 +21,6 @@ class DL::TestCStructEntity < DL::TestBase
assert_equal expected, size assert_equal expected, size
end end
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 def test_class_size_with_count
size = DL::CStructEntity.size([[DL::TYPE_DOUBLE, 2], [DL::TYPE_CHAR, 20]]) size = DL::CStructEntity.size([[DL::TYPE_DOUBLE, 2], [DL::TYPE_CHAR, 20]])