Question: JAVA CODE Fully qualified class names are Class 1(code class)(Class name Connect1) edu.jjj.connects.connect1.Connect1.java Class 2 (J Unit Test Class)(Class Name Connect1Test) edu.jjj.connects.connect1.Connect1Test.java Description: Implement the

JAVA CODE
Fully qualified class names are
Class 1(code class)(Class name Connect1) edu.jjj.connects.connect1.Connect1.java
Class 2 (J Unit Test Class)(Class Name Connect1Test) edu.jjj.connects.connect1.Connect1Test.java
Description: Implement the following method, which tests whether a two-dimensional list has four consecutive numbers of the same value, either horizontally, vertically, or diagonally public static boolean isConsecutiveFour(int]l] values) Write a series of JUnit test cases that will pass-in a 2-dim array and verify correct results. Your test cases should include both successful executions as well as tests for arrays containing non-consecutive numbers. Remember to take into account "non-square" arrays (Ex. 1x4) 0 10 3 1 6 1 0 1 68 6 0 1 5 6 2 1 8 2 9 6 5 6 11 9 1 1 3614 0 7 3 3 33 4 0 7 0 10 3 1 6 1 0 1 68 6 0 1 5 5 2 1 8 2 9 6 5 6 11 9 1 1 5 6 1 4 0 7 3 5 3 3 40 0 10 3 1 6 1 0 1 68 6 0 1 5 6 2 1 6 2 9 6 5 6 6 1 9 1 1 3 6 1 4 0 7 3 6 3 3 40 0 10 3 1 6 1 0 1 68 6 0 1 9 6 2 1 8 2 9 6 9 6 11 9 1 1 3 91 4 0 7 3 3 3 9 40 Realize that you are simply replicating the actions you would perform manually in an automated way. Essentially, write the code to do what you yourself would do to test the correctness of your code. Your tests do not have to be overly complicated, or extremely robust. Quality test cases (methods) can be written rather quickly once you "get the hang of it". If you find yourself spending more than a few minutes on a test case, please simplify your approach and thought process, you are most likely OVER THINKING the problem. If that doesn't help, please seek help (instructor, tutor, generous genius classmate) Notes: Packaging: Fully qualified class names are listed below
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
