Test branch coverage for a simple function
Preconditions (2)
Step 1: Call the function with a value that makes the if condition true
Step 2: Verify the function returns the expected result for the true branch
Step 3: Call the function with a value that makes the if condition false
Step 4: Verify the function returns the expected result for the false branch
✅ Expected Result: Both branches of the function are executed and verified, ensuring full branch coverage