Example #1
0
 def test_equal_1(self):
     self.assertEqual(caesar_encode('conquer et impera', 130),
                      'conquer fu korgtc')
Example #2
0
 def test_equal_3(self):
     self.assertEqual(caesar_encode('alea iacta est', 300),
                      'ozso xprip uij')
Example #3
0
 def test_equal_4(self):
     self.assertEqual(
         caesar_encode('horum omnium fortissimi sunt belgae', 0),
         'horum pnojvn hqtvkuukok vxqw fipkei')
Example #4
0
 def test_equal_2(self):
     self.assertEqual(
         caesar_encode('fere libenter homines id quod volunt credunt', 70),
         'xwjw ebuxgmxk bigchym dy mqkz slirkq apcbslr')
 def test_equal_1(self):
     self.assertEqual(
         caesar_encode('conquer et impera', 130), 'conquer fu korgtc'
     )
 def test_equal_4(self):
     self.assertEqual(
         caesar_encode('horum omnium fortissimi sunt belgae', 0),
         'horum pnojvn hqtvkuukok vxqw fipkei'
     )
 def test_equal_3(self):
     self.assertEqual(
         caesar_encode('alea iacta est', 300), 'ozso xprip uij'
     )
 def test_equal_2(self):
     self.assertEqual(
         caesar_encode('fere libenter homines id quod volunt credunt', 70),
         'xwjw ebuxgmxk bigchym dy mqkz slirkq apcbslr'
     )