def test_ct_le_u32(self): for i in range(0, 256): for j in range(0, 256): self.assertEqual((i <= j), (ct_le_u32(i, j) == 1)) for i in range(2**32-256, 2**32): for j in range(2**32-256, 2**32): self.assertEqual((i <= j), (ct_le_u32(i, j) == 1)) for i in range(0, 256): for j in range(2**32-256, 2**32): self.assertEqual((i <= j), (ct_le_u32(i, j) == 1)) for i in range(2**32-256, 2**32): for j in range(0, 256): self.assertEqual((i <= j), (ct_le_u32(i, j) == 1))
def test_ct_le_u32(self, i, j): self.assertEqual((i <= j), (ct_le_u32(i, j) == 1))