示例#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));
  }