This repo contains basic python script to mimic Calculator functionality. The main purpose of the repo is to learn how to package your code in a github repository.
You will require a 64 bit Windows 10 system or an equivalent iOS device, Python 3.5 or above.
Please use the following code in command prompt requirements.txt:
pip install -r requirements.txt
Whenever a commit is made, TravisCI checks whether the build is successful. test/autotest.py will be executed and methods from code/calculator.py will be tested.
Sample test cases are added for addition, subtraction, multiplication and division.
- For addition : Checks if the function returns 11 when 4 and 7 are passed as parameters.
- For subraction : Checks if the function returns 5 when 10 and 5 are passed as parameters.
- For multiplication : Checks if the function returns 21 when 3 and 7 are passed as parameters.
- For division : Checks if the function returns 10 when 2 and 5 are passed as parameters.
Check out the Style guide for Coding conventions for any future contributions.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
- Anshul Navinbhai Patel (apatel28)
- Bhavya Omprakash Agrawal (bagrawa)
- Darshan Manharbhai Patel (dpatel35)
- Pragna Bollam (pbollam)
- Rohan Jigarbhai Shah (rshah29)
This project is licensed under the terms of the MIT license. Please check License for more details.
We would like to thank Professor Dr Timothy Menzies for helping us understand the importance of building a good GitHub repository. We would also like to thank the teaching assistants Xiao Ling, Andre Lustosa, Kewen Peng, Weichen Shi for their support throughout the assignment. Other Resources used: