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