From b5397d5aa7f01d557a469ca0d70f3b33e1fe2c60 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 18 May 2011 17:01:10 +0200 Subject: Move some static player data to a player settings class git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@252 72836036-5685-4462-b002-a69064685172 --- test/jrummikub/model/RoundStateTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/jrummikub/model') 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()); } } -- cgit v1.2.3