def testFlipsideBlankString(self):
     self.assertEqual(' ', hw.flipside(' '))
 def testFlipsideOddLength(self):
     self.assertEqual('homefun', hw.flipside('funhome'))
 def testFlipsideSingleChar(self):
     self.assertEqual('z', hw.flipside('z'))
 def testFlipsideEvenLength(self):
     self.assertEqual('cattom', hw.flipside('tomcat'))
Пример #5
0
 def testFlipsideBlankString(self):
     self.assertEqual(' ', hw.flipside(' '))
Пример #6
0
 def testFlipsideSingleChar(self):
     self.assertEqual('z', hw.flipside('z'))
Пример #7
0
 def testFlipsideOddLength(self):
     self.assertEqual('homefun', hw.flipside('funhome'))
Пример #8
0
 def testFlipsideEvenLength(self):
     self.assertEqual('cattom', hw.flipside('tomcat'))