Programming, Python, Unit Testing, Hypothesis, Software Development.
test cases of 5 and 22 are far from enough. Instead of manually providing a positive integer, I can use hypothesis to generate it for me by using @given(st.integers(min_value=1). It will generate as many test cases as you want. Use hypothesis to generate positive integers. After running the test