summaryrefslogtreecommitdiffstats
path: root/test/jrummikub
diff options
context:
space:
mode:
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);
}
}