From b4664cd8540c476ef82e188ec30bcf9853f8d2e4 Mon Sep 17 00:00:00 2001 From: romanschenk37 <84532681+romanschenk37@users.noreply.github.com> Date: Fri, 25 Mar 2022 23:44:06 +0100 Subject: [PATCH] Javadoc in MoveListStrategyTest --- .../java/ch/zhaw/pm2/racetrack/MoveListStrategyTest.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/test/java/ch/zhaw/pm2/racetrack/MoveListStrategyTest.java b/src/test/java/ch/zhaw/pm2/racetrack/MoveListStrategyTest.java index 28fe8f0..88c3f28 100644 --- a/src/test/java/ch/zhaw/pm2/racetrack/MoveListStrategyTest.java +++ b/src/test/java/ch/zhaw/pm2/racetrack/MoveListStrategyTest.java @@ -14,10 +14,14 @@ public class MoveListStrategyTest { private MoveStrategy moveList; + @Nested @DisplayName("MoveListStrategy") class MoveList { + /** + * Creates a new MoveListStrategy + */ @BeforeEach void setup() { try { @@ -27,6 +31,9 @@ public class MoveListStrategyTest { } } + /** + * Checks if the directions are returned correct by method nextMove + */ @Test void checkMove() { Assertions.assertEquals(PositionVector.Direction.RIGHT,moveList.nextMove());