Check whether the cube definition string s represents a solvable cube. @param facelets is the cube definition string , see cs.min2phase.Search#solution(java.lang.String facelets, int maxDepth, long timeOut, long timeMin, int verbose) @return 0: Cube is solvable -1: There is not
(String facelets)
| 446 | * -6: Parity error: Two corners or two edges have to be exchanged |
| 447 | */ |
| 448 | public static int verify(String facelets) { |
| 449 | return Util.toCubieCube(facelets, new CubieCube()); |
| 450 | } |
| 451 | } |
no test coverage detected