File tree Expand file tree Collapse file tree 2 files changed +2
-51
lines changed
Expand file tree Collapse file tree 2 files changed +2
-51
lines changed Original file line number Diff line number Diff line change @@ -1309,32 +1309,7 @@ def test_pack
13091309 assert_equal ( ary . join ( ':' ) , ary2 . join ( ':' ) )
13101310 assert_not_nil ( x =~ /def/ )
13111311
1312- =begin
1313- skipping "Not tested:
1314- D,d & double-precision float, native format\\
1315- E & double-precision float, little-endian byte order\\
1316- e & single-precision float, little-endian byte order\\
1317- F,f & single-precision float, native format\\
1318- G & double-precision float, network (big-endian) byte order\\
1319- g & single-precision float, network (big-endian) byte order\\
1320- I & unsigned integer\\
1321- i & integer\\
1322- L & unsigned long\\
1323- l & long\\
1324-
1325- N & long, network (big-endian) byte order\\
1326- n & short, network (big-endian) byte-order\\
1327- P & pointer to a structure (fixed-length string)\\
1328- p & pointer to a null-terminated string\\
1329- S & unsigned short\\
1330- s & short\\
1331- V & long, little-endian byte order\\
1332- v & short, little-endian byte order\\
1333- X & back up a byte\\
1334- x & null byte\\
1335- Z & ASCII string (null padded, count is width)\\
1336- "
1337- =end
1312+ # more comprehensive tests are in test_pack.rb
13381313 end
13391314
13401315 def test_pack_with_buffer
Original file line number Diff line number Diff line change @@ -2469,31 +2469,7 @@ def test_unpack
24692469
24702470 assert_equal ( [ 0xa9 , 0x42 , 0x2260 ] , S ( "\xc2 \xa9 B\xe2 \x89 \xa0 " ) . unpack ( S ( "U*" ) ) )
24712471
2472- =begin
2473- skipping "Not tested:
2474- D,d & double-precision float, native format\\
2475- E & double-precision float, little-endian byte order\\
2476- e & single-precision float, little-endian byte order\\
2477- F,f & single-precision float, native format\\
2478- G & double-precision float, network (big-endian) byte order\\
2479- g & single-precision float, network (big-endian) byte order\\
2480- I & unsigned integer\\
2481- i & integer\\
2482- L & unsigned long\\
2483- l & long\\
2484- m & string encoded in base64 (uuencoded)\\
2485- N & long, network (big-endian) byte order\\
2486- n & short, network (big-endian) byte-order\\
2487- P & pointer to a structure (fixed-length string)\\
2488- p & pointer to a null-terminated string\\
2489- S & unsigned short\\
2490- s & short\\
2491- V & long, little-endian byte order\\
2492- v & short, little-endian byte order\\
2493- X & back up a byte\\
2494- x & null byte\\
2495- Z & ASCII string (null padded, count is width)\\"
2496- =end
2472+ # more comprehensive tests are in test_pack.rb
24972473 end
24982474
24992475 def test_upcase
You can’t perform that action at this time.
0 commit comments