зеркало из https://github.com/github/ruby.git
add a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
0667aac914
Коммит
37872dbf2b
|
@ -404,6 +404,7 @@ class TestPack < Test::Unit::TestCase
|
|||
assert_equal([578437695752307201, 17940646550795321087], s1.unpack("Q*"))
|
||||
|
||||
# Note: q! and Q! should not work on platform which has no long long type.
|
||||
# Is there a such platform now?
|
||||
s1 = [578437695752307201, -506097522914230529].pack("q!*")
|
||||
s2 = [578437695752307201, 17940646550795321087].pack("Q!*")
|
||||
assert_equal([578437695752307201, -506097522914230529], s2.unpack("q!*"))
|
||||
|
|
Загрузка…
Ссылка в новой задаче