mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* test/ruby/test_pack.rb: fix tests for 64bit CPU.
* test/ruby/test_bignum.rb: ditto. * test/ruby/test_file_exhaustive.rb: ditto. * test/ruby/test_integer.rb: ditto. * test/ruby/test_time.rb: ditto. * test/ruby/test_numeric.rb: ditto. * test/ruby/test_fixnum.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									a336e6ebd1
								
							
						
					
					
						commit
						65753a5838
					
				
					 9 changed files with 63 additions and 26 deletions
				
			
		|  | @ -235,9 +235,8 @@ class TestPack < Test::Unit::TestCase | |||
| 
 | ||||
|     s1 = [67305985, -50462977].pack("i!*") | ||||
|     s2 = [67305985, 4244504319].pack("I!*") | ||||
|     assert_equal(s1, s2) | ||||
|     assert_equal([67305985, -50462977], s2.unpack("i!*")) | ||||
|     assert_equal([67305985, 4244504319], s1.unpack("I!*")) | ||||
|     assert_equal([67305985, -50462977], s1.unpack("i!*")) | ||||
|     assert_equal([67305985, 4244504319], s2.unpack("I!*")) | ||||
|   end | ||||
| 
 | ||||
|   def test_pack_unpack_lL | ||||
|  | @ -249,9 +248,8 @@ class TestPack < Test::Unit::TestCase | |||
| 
 | ||||
|     s1 = [67305985, -50462977].pack("l!*") | ||||
|     s2 = [67305985, 4244504319].pack("L!*") | ||||
|     assert_equal(s1, s2) | ||||
|     assert_equal([67305985, -50462977], s2.unpack("l!*")) | ||||
|     assert_equal([67305985, 4244504319], s1.unpack("L!*")) | ||||
|     assert_equal([67305985, -50462977], s1.unpack("l!*")) | ||||
|     assert_equal([67305985, 4244504319], s2.unpack("L!*")) | ||||
|   end | ||||
| 
 | ||||
|   def test_pack_unpack_qQ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 mame
						mame