コード例 #1
0
 def test_field_long_uint(self):
     r = Reader(struct.pack('>I', 2 ** 32 - 1))
     assert_equals(2 ** 32 - 1, r._field_long_uint())
     assert_equals(4, r._pos)