Verify test coverage metrics calculation for a simple function
Preconditions (2)
Step 1: Write tests to cover all branches of the 'calculate_discount' function
Step 2: Run the tests with coverage measurement enabled
Step 3: Check the coverage report for the 'discounts.py' file
Step 4: Verify that the coverage report shows 100% coverage for statements and branches
✅ Expected Result: The coverage report shows 100% statement and branch coverage for 'discounts.py'