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