diff --git a/src/test/java/ch/zhaw/pm2/racetrack/GameTest.java b/src/test/java/ch/zhaw/pm2/racetrack/GameTest.java index 9114454..15ecda3 100644 --- a/src/test/java/ch/zhaw/pm2/racetrack/GameTest.java +++ b/src/test/java/ch/zhaw/pm2/racetrack/GameTest.java @@ -12,6 +12,8 @@ import static ch.zhaw.pm2.racetrack.PositionVector.Direction.*; /** * Test for Class Game. The Class is split up in nested classes. + * + * @author Andrin Fassbind */ class GameTest { private UserInterface userInterface; diff --git a/src/test/java/ch/zhaw/pm2/racetrack/MoveListStrategyTest.java b/src/test/java/ch/zhaw/pm2/racetrack/MoveListStrategyTest.java index 88c3f28..ff8f212 100644 --- a/src/test/java/ch/zhaw/pm2/racetrack/MoveListStrategyTest.java +++ b/src/test/java/ch/zhaw/pm2/racetrack/MoveListStrategyTest.java @@ -9,6 +9,8 @@ import java.io.FileNotFoundException; /** * This Class tests the MoveStrategy. + * + * @author Andrin Fassbind */ public class MoveListStrategyTest { diff --git a/src/test/java/ch/zhaw/pm2/racetrack/TrackTest.java b/src/test/java/ch/zhaw/pm2/racetrack/TrackTest.java index ce8bd47..13d054e 100644 --- a/src/test/java/ch/zhaw/pm2/racetrack/TrackTest.java +++ b/src/test/java/ch/zhaw/pm2/racetrack/TrackTest.java @@ -9,6 +9,8 @@ import java.util.List; /** * This Class tests the track + * + * @author Andrin Fassbind */ public class TrackTest { Track trackObj; @@ -17,6 +19,9 @@ public class TrackTest { @DisplayName("Positive Test Cases") class positiveClass { + /** + * Sets up the Test cases by loading the file and setting a new track. + */ @BeforeEach void setup() { File file = new File(".\\tracks\\challenge.txt"); @@ -162,6 +167,9 @@ public class TrackTest { class negativeClass { File file; + /** + * Sets up the negative Test cases by loading the file and setting a new track. + */ @BeforeEach void setup() { file = new File(".\\tracks\\challenge.txt");