diff options
Diffstat (limited to 'test/jrummikub/model')
-rw-r--r-- | test/jrummikub/model/RoundStateTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/jrummikub/model/RoundStateTest.java b/test/jrummikub/model/RoundStateTest.java index 18afb53..de98090 100644 --- a/test/jrummikub/model/RoundStateTest.java +++ b/test/jrummikub/model/RoundStateTest.java @@ -23,13 +23,13 @@ public class RoundStateTest { public void nextActiveTest() { // All there? assertEquals(4, testGame.getPlayerCount()); - assertSame(Color.red, testGame.getActivePlayer().getColor()); + assertSame(Color.red, testGame.getActivePlayer().getPlayerSettings().getColor()); testGame.nextPlayer(); - assertSame(Color.yellow, testGame.getActivePlayer().getColor()); + assertSame(Color.yellow, testGame.getActivePlayer().getPlayerSettings().getColor()); testGame.nextPlayer(); testGame.nextPlayer(); testGame.nextPlayer(); - assertSame(Color.red, testGame.getActivePlayer().getColor()); + assertSame(Color.red, testGame.getActivePlayer().getPlayerSettings().getColor()); } } |