import java.util.*; public class MyGameArrayTool { public static void main (String[] argv) { // Tests for method implementations. int[] A = {1, 2, 3, 4, 5, 6, 7, 8, 9}; int[] B = shiftedArray (3); if (! Arrays.equals(A,B) ) { System.out.println ("Error: shiftedArray() not working"); System.exit (0); } int[] C = {1, 2, 3, 4, 5, 6, 7, 8, 9}; shuffle (C); int[] D = Arrays.copyOf (C,C.length); Arrays.sort (D); if ( (Arrays.equals(C,A)) || (! Arrays.equals(A,D)) ) { System.out.println ("Error: shuffle() not working"); System.exit (0); } int n = 4; int[][] b = new int [n][n]; int[] E = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}; putNumbersOnBoard (b, E); int k = 0; for (int i=0; i