diff options
author | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-10 01:39:35 +0200 |
---|---|---|
committer | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-10 01:39:35 +0200 |
commit | 201c40a399ffd238cefe1305a57f52796e21cb0a (patch) | |
tree | 9a0e1a25c298076f650ddbed45d4e5d1d973a0f8 /test/jrummikub/control | |
parent | c9eb1cbdb8f8ffed31ac9752aa130e2bce9fa19f (diff) | |
download | JRummikub-201c40a399ffd238cefe1305a57f52796e21cb0a.tar JRummikub-201c40a399ffd238cefe1305a57f52796e21cb0a.zip |
Dropping of stones on hand
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@208 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test/jrummikub/control')
-rw-r--r-- | test/jrummikub/control/TurnControlTest.java | 4 |
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); |