(self, x)
| 255 | self.assertEqual(bb.wi, ByteBuffer.write_long_size(x)) |
| 256 | |
| 257 | def check_long(self, x): |
| 258 | x = ByteBuffer.truncate_long(x) |
| 259 | bb = ByteBuffer() |
| 260 | bb.write_long(x) |
| 261 | y = bb.read_long() |
| 262 | self.assertEqual(x, y) |
| 263 | self.assertEqual(bb.ri, bb.wi) |
| 264 | self.assertEqual(bb.wi, ByteBuffer.write_long_size(x)) |
| 265 | |
| 266 | def check_uint(self, x): |
| 267 | x = ByteBuffer.truncate_int(x) |
no test coverage detected