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'))
Example #5
0
 def testFlipsideBlankString(self):
     self.assertEqual(' ', hw.flipside(' '))
Example #6
0
 def testFlipsideSingleChar(self):
     self.assertEqual('z', hw.flipside('z'))
Example #7
0
 def testFlipsideOddLength(self):
     self.assertEqual('homefun', hw.flipside('funhome'))
Example #8
0
 def testFlipsideEvenLength(self):
     self.assertEqual('cattom', hw.flipside('tomcat'))