Tasks:
-
Clone this repo locally
-
Create a NEW local branch. Name it like JC-038-calc, where JC are your initials and 038 is the last three digits of your netid. (Or pick three random numbers instead of your netid digits if you prefer.)
git checkout -b JC-038-calc
- Install pytest if needed.
python -m pip install pytest
-
Create Unit Tests to properly unit test the calculator.py code. You may not change ANYTHING in calculator.py. You can only edit test.py. Using pytest is much easier that unittest.
-
Push you local branch to github
git add test.py git commit -m "More unit tests" git push --set-upstream origin JC-038-calc
- Submit a pull request (PR) and assign it to me