From 82c58a1eae3c818274db1b29c5d539f174060835 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Sun, 8 May 2011 18:10:07 +0200 Subject: getPlayer entfernt, weil es getNthNextPlayer gibt. Warnings beseitigt. git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@170 72836036-5685-4462-b002-a69064685172 --- test/jrummikub/control/RoundControlTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/jrummikub/control/RoundControlTest.java') diff --git a/test/jrummikub/control/RoundControlTest.java b/test/jrummikub/control/RoundControlTest.java index 159df9d..9569fbd 100644 --- a/test/jrummikub/control/RoundControlTest.java +++ b/test/jrummikub/control/RoundControlTest.java @@ -6,7 +6,6 @@ import static jrummikub.model.StoneColor.RED; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertNotSame; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; @@ -50,7 +49,7 @@ public class RoundControlTest { - testGameState.table.getSize(), testGameState.getGameHeap() .getSize()); for (int i = 0; i < testGameState.getPlayerCount(); i++) { - assertEquals(14, testGameState.getPlayer(i).getHand().getSize()); + assertEquals(14, testGameState.getNthNextPlayer(i).getHand().getSize()); } } -- cgit v1.2.3