Fix a broken shipping-fee calculation by writing the tests first
You take a function that does not match its spec and fix it by writing a failing test first rather than diving in. You learn how to pick the boundaries, and what to leave behind once it is fixed.