corrected javaDoc in GameTest
This commit is contained in:
@@ -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
|
* 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
|
* and if he rolls a 6, he can choose a piece out of the waiting-area
|
||||||
* T006
|
* T004
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void test3TriesFor6() {
|
public void test3TriesFor6() {
|
||||||
@@ -347,7 +347,11 @@ public void testGameTerminates() {
|
|||||||
// TODO: Implement test logic for game termination
|
// TODO: Implement test logic for game termination
|
||||||
}
|
}
|
||||||
|
|
||||||
// UC-Game-06
|
/**
|
||||||
|
* this method is used to test, that the start player is determined correctly
|
||||||
|
* <p>
|
||||||
|
* T006
|
||||||
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testStartingOrder() {
|
public void testStartingOrder() {
|
||||||
//tests if both player have no color and are not ready
|
//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());
|
assertEquals(playerHost.getColor().next(game), playerClient.getColor());
|
||||||
}
|
}
|
||||||
|
|
||||||
// UC-Game-07
|
/**
|
||||||
|
* this method test the determination of the start player, if two players roll even
|
||||||
|
* <p>
|
||||||
|
* T007
|
||||||
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testDouble() {
|
public void testDouble() {
|
||||||
//tests if both player have no color and are not ready
|
//tests if both player have no color and are not ready
|
||||||
|
|||||||
Reference in New Issue
Block a user