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