DevOps Homework created in 17.11.2019 for Kutlu Toren
This project is a code to have addition, subtraction, multiplication, and division with presicion of 2 after the decimal. Values will be rounded which has more significant digit than this.
git clone the project and type pytest in the directory directly. Required pytest to be installed in your enviroment. Code created using python 3.7.4
There are 17 tests all should pass if it runs correctly. Tests check for addition, substraction, division and multiplication for 1 instance of;
- integers,
- floating point numbers,
- with false information.
Also condition of / by 0 checked.
The method to select which opearation to be performed also tested by floating point only with using as well as invalid input cases