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

Method canTwist

app/src/main/java/solver/Sq1Shape.java:47–52  ·  view source on GitHub ↗
(int idx)

Source from the content-addressed store, hash-verified

45 }
46
47 private static boolean canTwist(int idx) {
48 int top = getTop(idx);
49 int bottom = getBottom(idx);
50 return (top & 1) != 0 && (top & (1 << 6)) != 0 &&
51 (bottom & 1) != 0 && (bottom & (1 << 6)) != 0;
52 }
53
54 public static int applyMove(int state, String move) {
55 //State state = this;

Callers 4

initfMethod · 0.95
inittMethod · 0.95
searchTwsMethod · 0.95
solveTrnMethod · 0.95

Calls 2

getTopMethod · 0.95
getBottomMethod · 0.95

Tested by

no test coverage detected