From 8c3c66f361934e521ef7d00e9464cfc51875badc Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Tue, 24 May 2011 21:57:18 +0200 Subject: Implemented routine to check if initial melds are possible git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@266 72836036-5685-4462-b002-a69064685172 --- test/jrummikub/model/HandTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/jrummikub/model') diff --git a/test/jrummikub/model/HandTest.java b/test/jrummikub/model/HandTest.java index 5aa662c..5396bd8 100644 --- a/test/jrummikub/model/HandTest.java +++ b/test/jrummikub/model/HandTest.java @@ -133,6 +133,7 @@ public class HandTest { } private void testInitialMeld(boolean possible, List handStones) { + hand = new Hand(new GameSettings()); for (Stone stone : handStones) { hand.drop(stone, new Position(0, 0)); } @@ -141,7 +142,7 @@ public class HandTest { /** */ @Test - public void testNoValid() { + public void testInvalid() { testInitialMeld(false, Arrays.asList(new Stone(8, RED), new Stone(9, RED), new Stone(10, RED), new Stone(12, RED), new Stone(13, RED))); -- cgit v1.2.3