summaryrefslogtreecommitdiffstats
path: root/test/jrummikub
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-06-20 23:36:26 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-06-20 23:36:26 +0200
commita33b0a22acf13a79aba9c205ec320f671b426958 (patch)
tree0c8aa96d701a19f9a90fe8219101347e831ea095 /test/jrummikub
parent2d08646187f514032d3d7eba7aed3767e1505d6f (diff)
downloadJRummikub-a33b0a22acf13a79aba9c205ec320f671b426958.tar
JRummikub-a33b0a22acf13a79aba9c205ec320f671b426958.zip
Improved AI
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@514 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test/jrummikub')
-rw-r--r--test/jrummikub/model/HandTest.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/jrummikub/model/HandTest.java b/test/jrummikub/model/HandTest.java
index f0be046..392dbd8 100644
--- a/test/jrummikub/model/HandTest.java
+++ b/test/jrummikub/model/HandTest.java
@@ -232,6 +232,18 @@ public class HandTest {
stones.add(new Stone(i, BLACK));
}
testInitialMeld(true, stones);
+
+ testInitialMeld(true, Arrays.asList(new Stone(1, BLACK), new Stone(1,
+ BLACK), new Stone(2, BLACK), new Stone(8, BLACK), new Stone(9,
+ BLACK), new Stone(10, BLACK), new Stone(11, BLACK), new Stone(
+ 12, BLACK), new Stone(12, BLACK), new Stone(3, ORANGE),
+ new Stone(3, ORANGE), new Stone(5, ORANGE),
+ new Stone(7, ORANGE), new Stone(12, ORANGE), new Stone(13,
+ ORANGE), new Stone(13, ORANGE), new Stone(2, BLUE),
+ new Stone(2, BLUE), new Stone(3, BLUE), new Stone(3, BLUE),
+ new Stone(8, BLUE), new Stone(9, BLUE), new Stone(1, RED),
+ new Stone(3, RED), new Stone(4, RED), new Stone(4, RED),
+ new Stone(5, RED), new Stone(8, RED)));
}
/** */