def testBestWord3(self):
     self.assertEqual(hw.bestWord(["a", "j", "m", "z", "z"], testDictionary), ['jazz', 29])
 def testBestWord2(self):
     self.assertEqual(hw.bestWord(["a", "s", "m", "o", "f", "o"], testDictionary), ['foo', 6])
 def testBestWord1(self):
     self.assertEqual(hw.bestWord(["a", "s", "m", "m", "p", "y"], testDictionary), ['spammy', 15])
Beispiel #4
0
 def testBestWord3(self):
     self.assertEqual(
         hw.bestWord(["a", "j", "m", "z", "z"], testDictionary),
         ['jazz', 29])
Beispiel #5
0
 def testBestWord2(self):
     self.assertEqual(
         hw.bestWord(["a", "s", "m", "o", "f", "o"], testDictionary),
         ['foo', 6])
Beispiel #6
0
 def testBestWord1(self):
     self.assertEqual(
         hw.bestWord(["a", "s", "m", "m", "p", "y"], testDictionary),
         ['spammy', 15])