Skip to content

joc22038/calculator-class-exercise

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

calculator-class-exercise

Tasks:

  1. Clone this repo locally

  2. 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

  1. Install pytest if needed.

python -m pip install pytest

  1. 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.

  2. Push you local branch to github

git add test.py git commit -m "More unit tests" git push --set-upstream origin JC-038-calc

  1. Submit a pull request (PR) and assign it to me

About

Create a branch, write some tests, submit a pull request

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages