Browse Source

Test.Relationship.PlayerService.Game

main
fdai7920 11 months ago
parent
commit
b66a34bdc7
  1. 10
      src/test/java/de/hsfulda/onses/GameTest.java

10
src/test/java/de/hsfulda/onses/GameTest.java

@ -46,4 +46,14 @@ public class GameTest {
assertEquals(game.getDrawCardDeck().getFirst(), answer1);
assertEquals(game.getDrawCardDeck().get(1), answer2);
}
@Test
@DisplayName("RelationshipGame_PlayerService")
public void RelationshipGame_PlayerService() {
// arrange
Game expected = new Game();
// act
Game answer = expected.getPlayerService().getGame();
// assert
assertEquals(expected, answer);
}
}
Loading…
Cancel
Save