diff options
Diffstat (limited to 'test/jrummikub/model')
-rw-r--r-- | test/jrummikub/model/HandTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
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<Stone> 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)));
|