MCPcopy Create free account
hub / github.com/e2wugui/zeze / check_skip_long

Method check_skip_long

python/test/test_buffer.py:298–306  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

296 self.assertEqual(ri, bb.ri)
297
298 def check_skip_long(self, x):
299 x = ByteBuffer.truncate_long(x)
300 bb = ByteBuffer()
301 bb.write_long(x)
302 bb.read_long()
303 ri = bb.ri
304 bb.ri = 0
305 bb.skip_long()
306 self.assertEqual(ri, bb.ri)
307
308 def check_skip_ulong(self, x):
309 x = ByteBuffer.truncate_long(x)

Callers 2

check_allMethod · 0.95
test_integerMethod · 0.95

Calls 5

write_longMethod · 0.95
read_longMethod · 0.95
skip_longMethod · 0.95
ByteBufferClass · 0.90
truncate_longMethod · 0.80

Tested by

no test coverage detected