Example #1
0
 def test_equal_10(self):
     self.assertEqual(broken('100011101111'), '011100010000')
Example #2
0
 def test_equal_1(self):
     self.assertEqual(broken('001111110011001110101111101001'),
                      '110000001100110001010000010110')
Example #3
0
 def test_equal_9(self):
     self.assertEqual(broken(
         '01000101110011101110100101101110100001101111010001010011110000'
         '01011011111010010001'),
         '10111010001100010001011010010001011110010000101110101100001111'
         '10100100000101101110')