예제 #1
0
  @Test(expected = BoundaryException.class)
  public void testIncrementFileByBoundaryException() throws Exception {

    board.incrementFileBy("h", 1);
  }
예제 #2
0
  @Test
  public void testIncrementFileBy() throws Exception {

    assertEquals("c", board.incrementFileBy("a", 2));
  }