Пример #1
0
  @Test(expected = BoundaryException.class)
  public void testDecrementRankByBoundaryException() throws Exception {

    board.decrementRankBy(1, 3);
  }
Пример #2
0
  @Test
  public void testDecrementRankBy() throws Exception {

    assertEquals(Integer.valueOf(4), board.decrementRankBy(7, 3));
  }