Verify addition function returns correct sum
Preconditions (2)
Step 1: Create a Python file named test_math.py
Step 2: Define a function add(a, b) that returns the sum of a and b
Step 3: Write a test function test_add() that calls add(2, 3)
Step 4: Assert that the result of add(2, 3) is 5
Step 5: Run pytest on the test_math.py file
✅ Expected Result: Pytest runs the test and shows that test_add passed successfully