MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / generate_random_hands

Function generate_random_hands

project_euler/problem_054/test_poker_hand.py:146–147  ·  view source on GitHub ↗
(number_of_hands: int = 100)

Source from the content-addressed store, hash-verified

144
145
146def generate_random_hands(number_of_hands: int = 100):
147 return (generate_random_hand() for _ in range(number_of_hands))
148
149
150@pytest.mark.parametrize(("hand", "expected"), TEST_FLUSH)

Callers

nothing calls this directly

Calls 1

generate_random_handFunction · 0.85

Tested by

no test coverage detected