|
@ -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(); |
|
@ -37,6 +38,7 @@ class CellTest { |
|
|
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(); |
|
@ -50,6 +52,7 @@ class CellTest { |
|
|
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(); |
|
@ -75,6 +80,7 @@ class CellTest { |
|
|
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(); |
|
@ -88,6 +94,7 @@ class CellTest { |
|
|
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(); |
|
|