Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 868 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 868 Bytes

UnitTesting

Unit Testing Calculator Example

Main class: Calculator.java

Unit Test Examples: CalculatorTest.java and CalculatorTestParam.java

Class Activity Instructions

  • 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:
  1. Confirm the initial value is 0
  2. Confirm adding 7 to the initial value
  3. 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.