(self, x)
| 286 | self.assertEqual(bb.wi, ByteBuffer.write_ulong_size(x)) |
| 287 | |
| 288 | def check_skip_uint(self, x): |
| 289 | x = ByteBuffer.truncate_int(x) |
| 290 | bb = ByteBuffer() |
| 291 | bb.write_uint(x) |
| 292 | bb.read_uint() |
| 293 | ri = bb.ri |
| 294 | bb.ri = 0 |
| 295 | bb.skip_uint() |
| 296 | self.assertEqual(ri, bb.ri) |
| 297 | |
| 298 | def check_skip_long(self, x): |
| 299 | x = ByteBuffer.truncate_long(x) |
no test coverage detected