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

Method countMovesAtPosition35

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

Source from the content-addressed store, hash-verified

103 }
104
105 @Test
106 public void countMovesAtPosition35() {
107 Board board = Board.getBoard("8/2K5/3p4/1P2k2r/1R3p2/8/4P1P1/8 w - -");
108 System.out.println(board);
109 Engine engine = new Engine();
110 Assert.assertEquals(20, engine.countAllMoves(board, 1));
111 }
112
113 @Test
114 public void countMovesAtPositionRandom() {

Callers

nothing calls this directly

Calls 2

getBoardMethod · 0.95
countAllMovesMethod · 0.95

Tested by

no test coverage detected