(self, x)
| 277 | self.assertEqual(bb.wi, ByteBuffer.write_ulong_size(x & 0xffff_ffff)) |
| 278 | |
| 279 | def check_ulong(self, x): |
| 280 | x = ByteBuffer.truncate_long(x) |
| 281 | bb = ByteBuffer() |
| 282 | bb.write_ulong(x) |
| 283 | y = bb.read_ulong() |
| 284 | self.assertEqual(x, y) |
| 285 | self.assertEqual(bb.ri, bb.wi) |
| 286 | self.assertEqual(bb.wi, ByteBuffer.write_ulong_size(x)) |
| 287 | |
| 288 | def check_skip_uint(self, x): |
| 289 | x = ByteBuffer.truncate_int(x) |
no test coverage detected