зеркало из https://github.com/github/ruby.git
* 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:
Родитель
40cf3e0cca
Коммит
711c067eb5
|
@ -21,11 +21,6 @@ class DL::TestCStructEntity < DL::TestBase
|
|||
assert_equal expected, size
|
||||
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
|
||||
size = DL::CStructEntity.size([[DL::TYPE_DOUBLE, 2], [DL::TYPE_CHAR, 20]])
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче