MCPcopy Create free account
hub / github.com/dicarlo236/cube-solver / verify

Method verify

server/CubieCube.java:383–412  ·  view source on GitHub ↗

Check a cubiecube for solvability. Return the error code. 0: Cube is solvable -2: Not all 12 edges exist exactly once -3: Flip error: One edge has to be flipped -4: Not all corners exist exactly once -5: Twist error: One corner has to be twisted -6: Parity error: Two corners or two edges have to be

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

getNParityMethod · 0.95
getNPermMethod · 0.95
getCPermMethod · 0.95

Tested by

no test coverage detected