mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 10:19:51 +00:00
update pack/unpack routines
git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@100 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
This commit is contained in:
parent
81a771094d
commit
a114f4a5a5
32 changed files with 503 additions and 366 deletions
|
|
@ -75,6 +75,13 @@ class MessagePackTestFormat < Test::Unit::TestCase
|
|||
check 9, -(1<<63)
|
||||
end
|
||||
|
||||
it "double" do
|
||||
check 9, 1.0
|
||||
check 9, 0.1
|
||||
check 9, -0.1
|
||||
check 9, -1.0
|
||||
end
|
||||
|
||||
it "fixraw" do
|
||||
check_raw 1, 0
|
||||
check_raw 1, (1<<5)-1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue