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'))