Browse Source

fixed tests in CellTest

remotes/origin/player
fdai7910 11 months ago
parent
commit
755039e1a1
  1. 7
      src/test/java/pacmanTests/CellTest.java

7
src/test/java/pacmanTests/CellTest.java

@ -24,6 +24,7 @@ class CellTest {
assertThat(expectedScore).isEqualTo(resultingScore);
}
@Test
void cell_triggerItem_10dotScore() {
// arrange
GameManager gameManager = new GameManager();
@ -37,6 +38,7 @@ class CellTest {
assertThat(expectedScore).isEqualTo(resultingScore);
}
@Test
void cell_triggerItem_100pillScore() {
// arrange
GameManager gameManager = new GameManager();
@ -50,6 +52,7 @@ class CellTest {
assertThat(expectedScore).isEqualTo(resultingScore);
}
@Test
void cell_triggerItem_405strawberryScore() {
// arrange
GameManager gameManager = new GameManager();
@ -62,6 +65,8 @@ class CellTest {
// assert
assertThat(expectedScore).isEqualTo(resultingScore);
}
@Test
void cell_triggerItem_305orangeScore() {
// arrange
GameManager gameManager = new GameManager();
@ -75,6 +80,7 @@ class CellTest {
assertThat(expectedScore).isEqualTo(resultingScore);
}
@Test
void cell_triggerItem_205appleScore() {
// arrange
GameManager gameManager = new GameManager();
@ -88,6 +94,7 @@ class CellTest {
assertThat(expectedScore).isEqualTo(resultingScore);
}
@Test
void cell_triggerItem_3crystalMoveSpeed() {
// arrange
GameManager gameManager = new GameManager();

Loading…
Cancel
Save