MCPcopy Index your code
hub / github.com/coding-parrot/chess-engine / countMovesAtPosition33

Method countMovesAtPosition33

src/test/java/EngineTest.java:71–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 }
70
71 @Test
72 public void countMovesAtPosition33() {
73 Board board = Board.getBoard("8/1Kp5/3p4/1P3k1r/1R3p2/8/4P1P1/8 w - -");
74 System.out.println(board);
75 Engine engine = new Engine();
76 Assert.assertEquals(6416, engine.countAllMoves(board, 3, 3));
77 }
78
79 @Test
80 public void countDoublePawnMovePossibilities() {

Callers

nothing calls this directly

Calls 2

getBoardMethod · 0.95
countAllMovesMethod · 0.95

Tested by

no test coverage detected