From 0e379858848cd62b1004e967b25c466212ab32e5 Mon Sep 17 00:00:00 2001 From: Alexander Sazonov Date: Sat, 30 Apr 2022 22:42:33 +0200 Subject: [PATCH] Improved documentation --- .../dmi/dbis/cs108/gamelogic/NoiseHandlerTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/java/ch/unibas/dmi/dbis/cs108/gamelogic/NoiseHandlerTest.java b/src/test/java/ch/unibas/dmi/dbis/cs108/gamelogic/NoiseHandlerTest.java index d5a5014..102ab11 100644 --- a/src/test/java/ch/unibas/dmi/dbis/cs108/gamelogic/NoiseHandlerTest.java +++ b/src/test/java/ch/unibas/dmi/dbis/cs108/gamelogic/NoiseHandlerTest.java @@ -7,12 +7,12 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; /** - * Tests the noise handling of the game: will the passengers the ghost(s) walk(ed) by while going to - * their victim receive the right amount of noise notifications? Since the noises heard by - * passengers are stored in designated noiseAmount arrays, the following tests check if the content - * of those arrays matches expected values. Different cases are being analyzed: ghost infects victim - * while being on his right / on his left; two ghosts infect a victim while coming from the same - * side / from different sides; four ghosts dispersed all over the train infect a victim. + * Tests the noise handling of the game: do the passengers hear the ghost(s) walking by while the + * latter move(s) to infect their victim? Since the noises heard by passengers are stored in + * designated noiseAmount arrays, the following tests check if the content of those arrays matches + * expected values. Different cases are being analyzed: ghost infects victim while being left to him + * / right to him; two ghosts infect a victim while coming from the same side / from different + * sides; four ghosts dispersed all over the train infect a victim. */ class NoiseHandlerTest {