def test_str_rot_13(self): new_string = string_101.str_rot_13('abc123') expected = 'nop123' self.assertEqual(new_string, expected)
def test_rot_13(self): string1 = 'hello' self.assertEqual(string_101.str_rot_13(string1), 'uryyb') string2 = 'uryyb' self.assertEqual(string_101.str_rot_13(string2), 'hello')
def test_str_rot_13_2(self): new_string = string_101.str_rot_13('79zzz') expected = '79mmm' self.assertEqual(new_string, expected)
def test_str_rot_13(self): self.assertEqual(string_101.str_rot_13('Hello'), 'Uryyb') self.assertEqual(string_101.str_rot_13('Clguba'), 'Python')
def test_string_101_2(self): string = string_101.str_rot_13("CoolestCoby") self.assertEqual(string, "PbbyrfgPbol")
def test_string_101_1(self): string = string_101.str_rot_13("CobyHong") self.assertEqual(string, "PbolUbat")
def test_lower2(self): s = 'and' self.assertEqual(string_101.str_rot_13(s), 'naq')
def test_lower1(self): s = 'lad' self.assertEqual(string_101.str_rot_13(s), 'ynq')