Skip to content

Commit

Permalink
Merge pull request #44 from kraftenty/2.0-beta
Browse files Browse the repository at this point in the history
테스트에서 데미지 블럭의 상수 값 미수정으로 인한 테스트 버그 수정
  • Loading branch information
kraftenty authored May 14, 2024
2 parents 65f0c08 + 053bdac commit 3e22069
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 3e22069

Please sign in to comment.