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

Method moveForward

src/test/java/QueenTest.java:7–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6public class QueenTest {
7 @Test
8 public void moveForward() {
9 Board board = new Board();
10 board.placeQueen(0, 0, Color.BLACK);
11 System.out.println(board);
12 System.out.println(board.getPiece(0, 0).getMoveList(board));
13 Assert.assertEquals(21, board.getPiece(0, 0).getMoveList(board).size());
14 }
15
16 @Test
17 public void moveAsQueen() {

Callers

nothing calls this directly

Calls 3

placeQueenMethod · 0.95
getPieceMethod · 0.95
getMoveListMethod · 0.45

Tested by

no test coverage detected