Exercise 1:
public double max(double a, double b);
// ‘b’, element by element. If equals it returns 0, it returns -
// 1 if not
public int areArrayEquals(int [] a, int [] b);
Devise four executable test cases for every method in the JUnit notation. See the attached handout for a refresher on the notation.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here