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

Method check_all

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

Source from the content-addressed store, hash-verified

316 self.assertEqual(ri, bb.ri)
317
318 def check_all(self, x):
319 self.check_int(ByteBuffer.truncate_int(x))
320 self.check_int(ByteBuffer.truncate_int(-x))
321 self.check_uint(ByteBuffer.truncate_int(x))
322 self.check_uint(ByteBuffer.truncate_int(-x))
323 self.check_skip_uint(ByteBuffer.truncate_int(x))
324 self.check_skip_uint(ByteBuffer.truncate_int(-x))
325 self.check_long(x)
326 self.check_long(-x)
327 self.check_ulong(x)
328 self.check_ulong(-x)
329 self.check_skip_long(x)
330 self.check_skip_long(-x)
331 self.check_skip_ulong(x)
332 self.check_skip_ulong(-x)
333
334 def test_integer(self):
335 for i in range(0, 65):

Callers 1

test_integerMethod · 0.95

Calls 8

check_intMethod · 0.95
check_uintMethod · 0.95
check_skip_uintMethod · 0.95
check_longMethod · 0.95
check_ulongMethod · 0.95
check_skip_longMethod · 0.95
check_skip_ulongMethod · 0.95
truncate_intMethod · 0.80

Tested by

no test coverage detected