From 9c3b949e5a7292f6d5511664f407c57569ad45d9 Mon Sep 17 00:00:00 2001 From: Benjamin Feyer Date: Fri, 13 Dec 2024 05:24:15 +0100 Subject: [PATCH] corrected javaDoc in GameTest --- .../model/src/test/java/pp/mdga/game/GameTest.java | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Projekte/mdga/model/src/test/java/pp/mdga/game/GameTest.java b/Projekte/mdga/model/src/test/java/pp/mdga/game/GameTest.java index eb37e71d..f832e1ac 100644 --- a/Projekte/mdga/model/src/test/java/pp/mdga/game/GameTest.java +++ b/Projekte/mdga/model/src/test/java/pp/mdga/game/GameTest.java @@ -266,7 +266,7 @@ public void testAllPiecesInWaitingArea() { /** * this test-method tests that the player has 3 chances to roll a 6, if all his pieces are in the waiting-area * and if he rolls a 6, he can choose a piece out of the waiting-area - * T006 + * T004 */ @Test public void test3TriesFor6() { @@ -347,7 +347,11 @@ public void testGameTerminates() { // TODO: Implement test logic for game termination } - // UC-Game-06 + /** + * this method is used to test, that the start player is determined correctly + *

+ * T006 + */ @Test public void testStartingOrder() { //tests if both player have no color and are not ready @@ -395,7 +399,11 @@ public void testStartingOrder() { assertEquals(playerHost.getColor().next(game), playerClient.getColor()); } - // UC-Game-07 + /** + * this method test the determination of the start player, if two players roll even + *

+ * T007 + */ @Test public void testDouble() { //tests if both player have no color and are not ready