summaryrefslogtreecommitdiffstats
path: root/test/jrummikub
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-05-03 19:06:16 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-05-03 19:06:16 +0200
commit7b8732714deb27cbb9295d0022231e00a71d28bb (patch)
treee46c4d5a356cffa6a141a7ccd2027ebc74675daf /test/jrummikub
parent760f914494d2cd8552a2f4408fbceb38ac7027ba (diff)
downloadJRummikub-7b8732714deb27cbb9295d0022231e00a71d28bb.tar
JRummikub-7b8732714deb27cbb9295d0022231e00a71d28bb.zip
Implemented Table, passes tests
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@90 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test/jrummikub')
-rw-r--r--test/jrummikub/model/TableTest.java6
1 files changed, 3 insertions, 3 deletions
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);
}
}