From 7b8732714deb27cbb9295d0022231e00a71d28bb Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Tue, 3 May 2011 19:06:16 +0200 Subject: Implemented Table, passes tests git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@90 72836036-5685-4462-b002-a69064685172 --- test/jrummikub/model/TableTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/jrummikub') diff --git a/test/jrummikub/model/TableTest.java b/test/jrummikub/model/TableTest.java index 86f25ea..17ed8c8 100644 --- a/test/jrummikub/model/TableTest.java +++ b/test/jrummikub/model/TableTest.java @@ -50,7 +50,7 @@ public class TableTest { for (Object i : testTable) { counter++; } - assertEquals(counter, 1); + assertEquals(1, counter); } @Test @@ -58,7 +58,7 @@ public class TableTest { public void testPickUpStoneRun() { Stone targetStone = new Stone(BLACK); testTable.drop(new StoneSet(Arrays.asList(new Stone(1, RED), targetStone, - new Stone(3, BLACK))), new Position(0,0)); + new Stone(3, RED))), new Position(0,0)); assertTrue(testTable.isValid()); testTable.pickUpStone(targetStone); assertFalse(testTable.isValid()); @@ -67,6 +67,6 @@ public class TableTest { for (Object i : testTable) { counter++; } - assertEquals(counter, 2); + assertEquals(2, counter); } } -- cgit v1.2.3