Main class: Calculator.java
Unit Test Examples: CalculatorTest.java and CalculatorTestParam.java
- Clone this repository into your local machine.
- Create and checkout to a branch with this fromat [first name-last name]
- Write 3 unit tests for the CalculatorClassActivity.java class as follow:
- Confirm the initial value is 0
- Confirm adding 7 to the initial value
- Confirm subtracting 10 from initial value
Commit your code into your branch in the remote repository.
Then, create a pull request to merge your branch into the main branch.