From 755039e1a19b612e6c0a0b4a8ba53c4e76dd74b2 Mon Sep 17 00:00:00 2001 From: fdai7910 Date: Thu, 8 Feb 2024 00:49:41 +0100 Subject: [PATCH] fixed tests in CellTest --- src/test/java/pacmanTests/CellTest.java | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/test/java/pacmanTests/CellTest.java b/src/test/java/pacmanTests/CellTest.java index 790f5ed..4d58241 100644 --- a/src/test/java/pacmanTests/CellTest.java +++ b/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();