This project is a simple calculator implemented in Python, with unit tests to verify its functionality.
Follow these instructions to fork, clone, and contribute to this repository, as well as to run the unit tests.
- Go to the GitHub page of this repository.
- Click the Fork button at the top right to create your own copy of the repository.
After forking, clone your forked repository to your local machine:
git clone https://github.com/<your-username>/Python-Simple-Test.git
Replace <your-username>
with your GitHub username.
Edit or add files as needed. For example, you can edit calculator.py
After making changes, stage and commit them:
git add .
git commit -m "Describe your changes here"
Push your committed changes to your forked repository:
git push origin main
Go to your forked repository on GitHub and click New Pull Request to propose your changes to the original repository.
To run the unit tests, use the following command in your terminal:
python -m unittest test_calculator.py
This will execute all the tests in test_calculator.py
and show the results.
Good luck!!