示例#1
0
 def test_pig_latin_word(self):
     self.assertEqual(pig_latin.pig_latin_word("Bananas!"), "Ananasbay!")
示例#2
0
 def test_check_puntuation(self):
     self.assertEqual(pig_latin.pig_latin_word("bananas"), "ananasbay")
     self.assertEqual(pig_latin.pig_latin_word("i"), "iyay")
     self.assertEqual(pig_latin.pig_latin_word("Bananas!"), "Ananasbay!")
    	self.assertEqual(pig_latin.pig_latin_word("buRrito"), "urritobay")