summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/control/TurnControlTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/jrummikub/control/TurnControlTest.java')
-rw-r--r--test/jrummikub/control/TurnControlTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/jrummikub/control/TurnControlTest.java b/test/jrummikub/control/TurnControlTest.java
index b018182..4d6d0c2 100644
--- a/test/jrummikub/control/TurnControlTest.java
+++ b/test/jrummikub/control/TurnControlTest.java
@@ -1051,7 +1051,7 @@ public class TurnControlTest {
Set<Stone> handStones = new HashSet<Stone>();
for (Pair<Stone, Position> stone : mockHand.stones) {
- assertEquals(stone.getSecond(), new Position(2,0));
+ assertEquals(stone.getSecond().getY(), 0, 0.0001);
handStones.add(stone.getFirst());
}
assertEquals(expected, handStones);
@@ -1081,7 +1081,7 @@ public class TurnControlTest {
Set<Stone> handStones = new HashSet<Stone>();
for (Pair<Stone, Position> stone : mockHand.stones) {
- assertEquals(stone.getSecond(), new Position(2,0));
+ assertEquals(stone.getSecond().getY(), 0, 0.0001);
handStones.add(stone.getFirst());
}
assertEquals(expected, handStones);