|
@ -24,6 +24,7 @@ class CellTest { |
|
|
assertThat(expectedScore).isEqualTo(resultingScore); |
|
|
assertThat(expectedScore).isEqualTo(resultingScore); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
void cell_triggerItem_10dotScore() { |
|
|
void cell_triggerItem_10dotScore() { |
|
|
// arrange |
|
|
// arrange |
|
|
GameManager gameManager = new GameManager(); |
|
|
GameManager gameManager = new GameManager(); |
|
@ -36,7 +37,8 @@ class CellTest { |
|
|
// assert |
|
|
// assert |
|
|
assertThat(expectedScore).isEqualTo(resultingScore); |
|
|
assertThat(expectedScore).isEqualTo(resultingScore); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
void cell_triggerItem_100pillScore() { |
|
|
void cell_triggerItem_100pillScore() { |
|
|
// arrange |
|
|
// arrange |
|
|
GameManager gameManager = new GameManager(); |
|
|
GameManager gameManager = new GameManager(); |
|
@ -49,7 +51,8 @@ class CellTest { |
|
|
// assert |
|
|
// assert |
|
|
assertThat(expectedScore).isEqualTo(resultingScore); |
|
|
assertThat(expectedScore).isEqualTo(resultingScore); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
void cell_triggerItem_405strawberryScore() { |
|
|
void cell_triggerItem_405strawberryScore() { |
|
|
// arrange |
|
|
// arrange |
|
|
GameManager gameManager = new GameManager(); |
|
|
GameManager gameManager = new GameManager(); |
|
@ -62,6 +65,8 @@ class CellTest { |
|
|
// assert |
|
|
// assert |
|
|
assertThat(expectedScore).isEqualTo(resultingScore); |
|
|
assertThat(expectedScore).isEqualTo(resultingScore); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
void cell_triggerItem_305orangeScore() { |
|
|
void cell_triggerItem_305orangeScore() { |
|
|
// arrange |
|
|
// arrange |
|
|
GameManager gameManager = new GameManager(); |
|
|
GameManager gameManager = new GameManager(); |
|
@ -74,7 +79,8 @@ class CellTest { |
|
|
// assert |
|
|
// assert |
|
|
assertThat(expectedScore).isEqualTo(resultingScore); |
|
|
assertThat(expectedScore).isEqualTo(resultingScore); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
void cell_triggerItem_205appleScore() { |
|
|
void cell_triggerItem_205appleScore() { |
|
|
// arrange |
|
|
// arrange |
|
|
GameManager gameManager = new GameManager(); |
|
|
GameManager gameManager = new GameManager(); |
|
@ -87,7 +93,8 @@ class CellTest { |
|
|
// assert |
|
|
// assert |
|
|
assertThat(expectedScore).isEqualTo(resultingScore); |
|
|
assertThat(expectedScore).isEqualTo(resultingScore); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
void cell_triggerItem_3crystalMoveSpeed() { |
|
|
void cell_triggerItem_3crystalMoveSpeed() { |
|
|
// arrange |
|
|
// arrange |
|
|
GameManager gameManager = new GameManager(); |
|
|
GameManager gameManager = new GameManager(); |
|
|