summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/model
diff options
context:
space:
mode:
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() {