summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/model
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-05-05 00:00:16 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-05-05 00:00:16 +0200
commit16da68b0ae641f5c3050d4c2a723d2b46d97b8c7 (patch)
tree73ea6648ccfeb37f4e5ca610c85dab28199f5f8b /test/jrummikub/model
parent75f1382b8246e580ad49b8d3ccdb2d02a9570d37 (diff)
downloadJRummikub-16da68b0ae641f5c3050d4c2a723d2b46d97b8c7.tar
JRummikub-16da68b0ae641f5c3050d4c2a723d2b46d97b8c7.zip
Test initial display of hand stones
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@133 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test/jrummikub/model')
-rw-r--r--test/jrummikub/model/MockHand.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/jrummikub/model/MockHand.java b/test/jrummikub/model/MockHand.java
index 1fc5954..0d0c523 100644
--- a/test/jrummikub/model/MockHand.java
+++ b/test/jrummikub/model/MockHand.java
@@ -9,6 +9,8 @@ import jrummikub.util.Pair;
public class MockHand implements IHand {
public List<Stone> stones = new ArrayList<Stone>();
+
+ public Iterable<Pair<Stone, Position>> iterable;
@Override
public Stone pickUp(Position position) {
@@ -39,8 +41,7 @@ public class MockHand implements IHand {
@Override
public Iterator<Pair<Stone, Position>> iterator() {
- // TODO Auto-generated method stub
- return null;
+ return iterable.iterator();
}
public MockHand clone() {