ruby-changes:23800
From: drbrain <ko1@a...>
Date: Thu, 31 May 2012 09:38:06 +0900 (JST)
Subject: [ruby-changes:23800] drbrain:r35851 (trunk): * test/dl/test_c_struct_entry.rb: Removed duplicated test
drbrain 2012-05-31 09:37:45 +0900 (Thu, 31 May 2012) New Revision: 35851 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35851 Log: * test/dl/test_c_struct_entry.rb: Removed duplicated test Modified files: trunk/test/dl/test_c_struct_entry.rb Index: test/dl/test_c_struct_entry.rb =================================================================== --- test/dl/test_c_struct_entry.rb (revision 35850) +++ test/dl/test_c_struct_entry.rb (revision 35851) @@ -24,11 +24,6 @@ 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] } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/