예제 #1
0
 def testYoohoo(self):
     self.assertEqual(hw.pigLatin('yoohoo'), 'oohooyay')
예제 #2
0
 def testYttrium(self):
     self.assertEqual(
         hw.pigLatin('yttrium'), 'yttriumway',
         "Make sure that you deal with words starting with y correctly.")
예제 #3
0
 def testString(self):
     self.assertEqual(hw.pigLatin('string'), 'ingstray')
 def testYoohoo(self):
     self.assertEqual(hw.pigLatin('yoohoo'), 'oohooyay')
 def testYttrium(self):
     self.assertEqual(hw.pigLatin('yttrium'), 'yttriumway', "Make sure that you deal with words starting with y correctly.")
 def testString(self):
     self.assertEqual(hw.pigLatin('string'), 'ingstray')