Verify calculator operations using pytest test class
Preconditions (2)
Step 1: Create a test class named TestCalculator
Step 2: Inside the class, write a setup method to create a Calculator instance
Step 3: Write a test method test_add to verify addition of 2 and 3 equals 5
Step 4: Write a test method test_subtract to verify subtraction of 5 from 10 equals 5
Step 5: Write a test method test_multiply to verify multiplication of 4 and 3 equals 12
Step 6: Write a test method test_divide to verify division of 10 by 2 equals 5
Step 7: Run pytest and observe the test results
✅ Expected Result: All test methods pass confirming Calculator operations work correctly