Skip to content

Commit

Permalink
테스트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
szoyoung committed May 14, 2024
1 parent 65f0c08 commit 053bdac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/org/nl/javatetris/game/play/BoardTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ public void addDamagedLinesToBoardTest() {

// 보드 상태 확인
for (int x = 1; x < X_MAX - 1; x++) {
Assertions.assertEquals(line1.get(x - 1) == 1 ? W : EMPTY, board.getValueAt(Y_MAX - 3, x));
Assertions.assertEquals(line2.get(x - 1) == 1 ? W : EMPTY, board.getValueAt(Y_MAX - 2, x));
Assertions.assertEquals(line1.get(x - 1) == 1 ? DAMAGED_BLOCK: EMPTY, board.getValueAt(Y_MAX - 3, x));
Assertions.assertEquals(line2.get(x - 1) == 1 ? DAMAGED_BLOCK: EMPTY, board.getValueAt(Y_MAX - 2, x));
}

// 버퍼가 비어 있는지 확인
Expand Down

0 comments on commit 053bdac

Please sign in to comment.