MCPcopy Create free account
hub / github.com/MeigenChou/DCTimer-Android / verify

Method verify

app/src/main/java/cs/min2phase/Tools.java:448–450  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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}

Callers 1

toCubieCubeMethod · 0.45

Calls 1

toCubieCubeMethod · 0.95

Tested by

no test coverage detected