Example #1
0
 def test_decode_7(self):
     self.assertEqual(decode('a2A1c3B5b2B1'), 'aaAcccBBBBBbbB')
Example #2
0
 def test_decode_5(self):
     self.assertEqual(decode(''), '')
Example #3
0
 def test_decode_6(self):
     self.assertEqual(decode('a1'), 'a')
Example #4
0
 def test_decode_3(self):
     self.assertEqual(decode('a1l3z2c1'), 'alllzzc')
Example #5
0
 def test_decode_4(self):
     self.assertEqual(decode('t12p4q9p1t2'), 'ttttttttttttppppqqqqqqqqqptt')
Example #6
0
 def test_decode_2(self):
     self.assertEqual(decode('a1b1c1'), 'abc')
Example #7
0
 def test_decode_2(self):
     self.assertEqual(decode('a1b1c1'), 'abc')
Example #8
0
 def test_decode_8(self):
     self.assertEqual(decode('a2215z321y92'),
                      (('a' * 2215) + ('z' * 321) + 'y' * 92))
Example #9
0
 def test_decode_9(self):
     self.assertEqual(decode('a0000b0c00'), '')
Example #10
0
 def test_decode_6(self):
     self.assertEqual(decode('a1'), 'a')
Example #11
0
 def test_decode_7(self):
     self.assertEqual(decode('a2A1c3B5b2B1'),
                      'aaAcccBBBBBbbB')
Example #12
0
 def test_decode_5(self):
     self.assertEqual(decode(''), '')
Example #13
0
 def test_decode_4(self):
     self.assertEqual(decode('t12p4q9p1t2'),
                      'ttttttttttttppppqqqqqqqqqptt')
Example #14
0
 def test_decode_3(self):
     self.assertEqual(decode('a1l3z2c1'), 'alllzzc')
Example #15
0
 def test_decode_8(self):
     self.assertEqual(decode('a2215z321y92'),
                      (('a' * 2215) + ('z' * 321) + 'y' * 92))
Example #16
0
 def test_decode_1(self):
     self.assertEqual(decode('a5b2c3'), 'aaaaabbccc')
Example #17
0
 def test_decode_9(self):
     self.assertEqual(decode('a0000b0c00'), '')
Example #18
0
 def test_decode_1(self):
     self.assertEqual(decode('a5b2c3'), 'aaaaabbccc')