Пример #1
0
 def test_highest_score_multiple_option(self):
     s = ScrabbleSolver('set')
     highest = s.score()
     self.assertEqual('3, set', highest)
Пример #2
0
def main(rack):
    s = ScrabbleSolver(rack)
    print s.score()
Пример #3
0
 def test_highest_score_one_option(self):
     s = ScrabbleSolver('aa')
     highest = s.score()
     self.assertEqual('2, aa', highest)