MCPcopy Create free account
hub / github.com/exercism/python / test_highest_pair_wins

Method test_highest_pair_wins

exercises/practice/poker/poker_test.py:52–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

50 )
51
52 def test_highest_pair_wins(self):
53 self.assertEqual(
54 best_hands(["4S 2H 6S 2D JH", "2S 4H 6C 4D JD"]), ["2S 4H 6C 4D JD"]
55 )
56
57 def test_both_hands_have_the_same_pair_high_card_wins(self):
58 self.assertEqual(

Callers

nothing calls this directly

Calls 1

best_handsFunction · 0.90

Tested by

no test coverage detected