示例#1
0
 def test_equals_2(self):
     self.assertEqual(rot13("This is my first ROT13 excercise!"), "Guvf vf zl svefg EBG13 rkprepvfr!")
示例#2
0
 def test_equals(self):
     self.assertEqual(rot13("EBG13 rknzcyr."), "ROT13 example.")
示例#3
0
 def test_equals_3(self):
     self.assertEqual(
         rot13("Va gur ryringbef, gur rkgebireg ybbxf ng gur" " BGURE thl'f fubrf."),
         "In the elevators, the extrovert looks at the OTHER" " guy's shoes.",
     )
示例#4
0
 def test_equals_2(self):
     self.assertEqual(rot13('This is my first ROT13 excercise!'),
                      'Guvf vf zl svefg EBG13 rkprepvfr!')
示例#5
0
 def test_equals(self):
     self.assertEqual(rot13('EBG13 rknzcyr.'), 'ROT13 example.')
示例#6
0
 def test_equals_3(self):
     self.assertEqual(
         rot13('Va gur ryringbef, gur rkgebireg ybbxf ng gur'
               ' BGURE thl\'f fubrf.'),
         'In the elevators, the extrovert looks at the OTHER'
         ' guy\'s shoes.')