コード例 #1
0
ファイル: BoardTest.java プロジェクト: stevelibonati/chess
  @Test(expected = BoundaryException.class)
  public void testIncrementFileByBoundaryException() throws Exception {

    board.incrementFileBy("h", 1);
  }
コード例 #2
0
ファイル: BoardTest.java プロジェクト: stevelibonati/chess
  @Test
  public void testIncrementFileBy() throws Exception {

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