Esempio n. 1
0
 def test10(self):
     self.assertEqual(hw2.bestWord(['b', 'b', 'b', 'l', 'r', 'a', 'e']), ['babble', 12])
Esempio n. 2
0
 def test08(self):
     self.assertEqual(hw2.bestWord(['a', 's', 'm', 't', 'p']), ['spam', 8])
Esempio n. 3
0
 def test09(self):
     self.assertEqual(hw2.bestWord(['g', 'y', 'e']), ['', 0])
Esempio n. 4
0
 def test07(self):
     self.assertEqual(hw2.bestWord(['a']), ['a', 1])
Esempio n. 5
0
 def test10(self):
     self.assertEqual(hw2.bestWord(['b', 'b', 'b', 'l', 'r', 'a', 'e']),
                      ['babble', 12])
Esempio n. 6
0
 def test09(self):
     self.assertEqual(hw2.bestWord(['g', 'y', 'e']), ['', 0])
Esempio n. 7
0
 def test08(self):
     self.assertEqual(hw2.bestWord(['a', 's', 'm', 't', 'p']), ['spam', 8])
Esempio n. 8
0
 def test07(self):
     self.assertEqual(hw2.bestWord(['a']), ['a', 1])