Browse Source

fixed tests in CellTest

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

15
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();
@ -36,7 +37,8 @@ class CellTest {
// assert
assertThat(expectedScore).isEqualTo(resultingScore);
}
@Test
void cell_triggerItem_100pillScore() {
// arrange
GameManager gameManager = new GameManager();
@ -49,7 +51,8 @@ class CellTest {
// assert
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();
@ -74,7 +79,8 @@ class CellTest {
// assert
assertThat(expectedScore).isEqualTo(resultingScore);
}
@Test
void cell_triggerItem_205appleScore() {
// arrange
GameManager gameManager = new GameManager();
@ -87,7 +93,8 @@ class CellTest {
// assert
assertThat(expectedScore).isEqualTo(resultingScore);
}
@Test
void cell_triggerItem_3crystalMoveSpeed() {
// arrange
GameManager gameManager = new GameManager();

Loading…
Cancel
Save