Core: learn it Step 11 of 16 on the Python Developer roadmap
What to test
Test the normal case, the edge cases (an empty list, zero, a huge number) and the error cases. One clear check per test makes failures easy to understand.
Core: learn it Step 11 of 16 on the Python Developer roadmap
Test the normal case, the edge cases (an empty list, zero, a huge number) and the error cases. One clear check per test makes failures easy to understand.