(self, x)
| 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): |
no test coverage detected