In this assignment, you will implement a fairly complicated method on your repository.
Go to the Adder.java file from your own repository.
It contains one task inside the increment
method. You will need to fill in the missing implementation:
public static int increment(int x) { throw new RuntimeException("Not implemented"); }
Replace the exception and implement the method such that it returns the increment of x
.
The implementation needs to be done within your personal repository that you have setup before.
You can check that your implementation is correct by running the tests within MyTests.