()
| 320 | } |
| 321 | |
| 322 | public static String random3Corner() { |
| 323 | int[] c = new int[8]; |
| 324 | Utils.idxToComb(c, gen.nextInt(56), 3, 8); |
| 325 | int[] cp = new int[8], co = new int[8]; |
| 326 | for (int i = 0; i < 8; i++) { |
| 327 | if (c[i] != 0) co[i] = cp[i] = -1; |
| 328 | else { |
| 329 | cp[i] = i; |
| 330 | co[i] = 0; |
| 331 | } |
| 332 | } |
| 333 | return randomState(cp, co, STATE_SOLVED, STATE_SOLVED); |
| 334 | } |
| 335 | |
| 336 | public static String random3Edge() { |
| 337 | int[] e = new int[12]; |
no test coverage detected