Question: Given a function that adds two numbers like this, write a J-Unit test to show that it works correctly. public class Mathematics { public
Given a function that adds two numbers like this, write a J-Unit test to show that it works correctly.
public class Mathematics {
public int add(int a, int b){
return a + b;
}
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
