diff --git a/backend/src/test/java/djmil/cordacheckers/CheckersMoveTest.java b/backend/src/test/java/djmil/cordacheckers/CheckersMoveTest.java index d7ec54d..2c020ac 100644 --- a/backend/src/test/java/djmil/cordacheckers/CheckersMoveTest.java +++ b/backend/src/test/java/djmil/cordacheckers/CheckersMoveTest.java @@ -128,7 +128,7 @@ public class CheckersMoveTest { return Jump.intersect(allJumps, allSteps); } - public Set getWhiteJumps(Integer idx) { + public static Set getWhiteJumps(Integer idx) { final var allSteps = getWhiteSteps(idx); final var allJumps = adjacentCell.get(idx).stream() .filter(cur -> idx > cur && idx - cur > 5) @@ -137,7 +137,7 @@ public class CheckersMoveTest { return Jump.intersect(allJumps, allSteps); } - public Set getKingJumps(Integer idx) { + public static Set getKingJumps(Integer idx) { final var allSteps = getKingSteps(idx); final var allJumps = adjacentCell.get(idx).stream() .filter(cur -> abs(idx - cur) > 5)