Exemplo n.º 1
0
 def test2(self):
     solution = Solution()
     self.assertEqual(solution.cipher("Yvccf nficu!", 9), "Hello world!")
Exemplo n.º 2
0
 def test8(self):
     solution = Solution()
     self.assertEqual(solution.cipher("123 ! *()", 1), "123 ! *()")
Exemplo n.º 3
0
 def test1(self):
     solution = Solution()
     self.assertEqual(solution.cipher("Zwddg ogjdv!", 8), "Hello world!")
Exemplo n.º 4
0
 def test7(self):
     solution = Solution()
     self.assertEqual(solution.cipher("Gdkkn vnqkc!", -25), "Hello world!")
Exemplo n.º 5
0
 def test6(self):
     solution = Solution()
     self.assertEqual(solution.cipher("Hello world!", 0), "Hello world!")
Exemplo n.º 6
0
 def test5(self):
     solution = Solution()
     self.assertEqual(solution.cipher("Ifmmp xpsme!", 25), "Hello world!")
Exemplo n.º 7
0
 def test4(self):
     solution = Solution()
     self.assertEqual(solution.cipher("Qnuux fxaum!", -9), "Hello world!")
Exemplo 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!")