(self, x)
| 246 | self.assertEqual(bb.ri, bb.wi) |
| 247 | |
| 248 | def check_int(self, x): |
| 249 | x = ByteBuffer.truncate_int(x) |
| 250 | bb = ByteBuffer() |
| 251 | bb.write_int(x) |
| 252 | y = bb.read_int() |
| 253 | self.assertEqual(x, y) |
| 254 | self.assertEqual(bb.ri, bb.wi) |
| 255 | self.assertEqual(bb.wi, ByteBuffer.write_long_size(x)) |
| 256 | |
| 257 | def check_long(self, x): |
| 258 | x = ByteBuffer.truncate_long(x) |
no test coverage detected