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

Method moveForwardDouble

src/test/java/PawnTest.java:38–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 }
37
38 @Test
39 public void moveForwardDouble() {
40 final Board board = new Board();
41 board.placePawn(1, 1, Color.WHITE);
42 System.out.println(board);
43 Assert.assertEquals(2, board.getPiece(1, 1).getMoveList(board).size());
44 }
45
46 @Test
47 public void cantMoveForwardOpponent() {

Callers

nothing calls this directly

Calls 3

placePawnMethod · 0.95
getPieceMethod · 0.95
getMoveListMethod · 0.45

Tested by

no test coverage detected