Esempio n. 1
0
 def test2(self):
     solution = Solution()
     self.assertEqual(solution.cipher("Yvccf nficu!", 9), "Hello world!")
Esempio n. 2
0
 def test8(self):
     solution = Solution()
     self.assertEqual(solution.cipher("123 ! *()", 1), "123 ! *()")
Esempio n. 3
0
 def test1(self):
     solution = Solution()
     self.assertEqual(solution.cipher("Zwddg ogjdv!", 8), "Hello world!")
Esempio n. 4
0
 def test7(self):
     solution = Solution()
     self.assertEqual(solution.cipher("Gdkkn vnqkc!", -25), "Hello world!")
Esempio n. 5
0
 def test6(self):
     solution = Solution()
     self.assertEqual(solution.cipher("Hello world!", 0), "Hello world!")
Esempio n. 6
0
 def test5(self):
     solution = Solution()
     self.assertEqual(solution.cipher("Ifmmp xpsme!", 25), "Hello world!")
Esempio n. 7
0
 def test4(self):
     solution = Solution()
     self.assertEqual(solution.cipher("Qnuux fxaum!", -9), "Hello world!")
Esempio n. 8
0
 def test3(self):
     solution = Solution()
     self.assertEqual(solution.cipher("Kyv t*uv zj 1: gcvrjv ivjgfeu!", 9),
                      "The c*de is 1: please respond!")