def test_scorepairhands_AAKK_returns31413000000(self): cards = tools.convert_to_cards(['As', 'Ah', 'Kc', 'Kd']) expected = 31413000000 result = evaluator.score_pair_hands(cards) self.assertEqual(expected, result)
def test_scorepairhands_A_returns1400000000(self): cards = [card.Card('A', 's')] expected = 1400000000 result = evaluator.score_pair_hands(cards) self.assertEqual(expected, result)