From 201c40a399ffd238cefe1305a57f52796e21cb0a Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Tue, 10 May 2011 01:39:35 +0200 Subject: Dropping of stones on hand git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@208 72836036-5685-4462-b002-a69064685172 --- test/jrummikub/control/TurnControlTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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 handStones = new HashSet(); for (Pair 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 handStones = new HashSet(); for (Pair stone : mockHand.stones) { - assertEquals(stone.getSecond(), new Position(2,0)); + assertEquals(stone.getSecond().getY(), 0, 0.0001); handStones.add(stone.getFirst()); } assertEquals(expected, handStones); -- cgit v1.2.3