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:
parent
40cf3e0cca
commit
711c067eb5
1 changed files with 0 additions and 5 deletions
|
@ -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]])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue