def test_multiple_bytes(self): self.assertEqual( bytes_to_bits([255, 128, 16]), '111111110000000100001000')
def test_one_byte(self): self.assertEqual(bytes_to_bits([19]), '11001000')