This script performs basic manual QA tests on a set of calculator functions: addition, subtraction, and division. It checks whether each function returns the correct result and handles edge cases, such as division by zero.
The goal is to simulate how a QA tester would validate core logic in a mobile or web-based calculator app using Python's built-in unittest
framework.
- Make sure you have Python installed (version 3.x).
- Save the script as
test_calculator.py
. - Open your terminal or command prompt.
- Navigate to the folder where the script is saved.
- Run the following command:
python test_calculator.py