Esempio n. 1
0
 private void checkSpecialRules(
     ImmutablePoint origin,
     Player player,
     ReadableBoard board,
     Set<? extends Move> expectedMoves) {
   assertThat(pawn.specialRuleAllowedMoves(origin, player, board), equalTo(expectedMoves));
 }
Esempio n. 2
0
 @Test
 public void testMaximalMoves() {
   assertThat(pawn.getMaximalMoves(), is(empty()));
 }