/SE_Fall2021_G13_HW2b

Basic python script to mimic Calculator functionality

Primary LanguagePythonMIT LicenseMIT

header

Python GitHub forks GitHub issues GitHub license Build Status DOI

Basic stuff presented in an Awesome Repo

SE_Fall2021_G13_HW2b

Table of Contents

Getting Started

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.

Prerequisites

You will require a 64 bit Windows 10 system or an equivalent iOS device, Python 3.5 or above.

Installing

Please use the following code in command prompt requirements.txt:

pip install -r requirements.txt

Running the tests

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 Tests

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.

Style test

Check out the Style guide for Coding conventions for any future contributions.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Contributors

  • Anshul Navinbhai Patel (apatel28)
  • Bhavya Omprakash Agrawal (bagrawa)
  • Darshan Manharbhai Patel (dpatel35)
  • Pragna Bollam (pbollam)
  • Rohan Jigarbhai Shah (rshah29)

License

This project is licensed under the terms of the MIT license. Please check License for more details.

Acknowledgments

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: