Tests for counting of identical stone pairs

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@274 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Jannis Harder 2011-05-25 17:27:18 +02:00
parent a1c0cb89f6
commit 5e855398b9
4 changed files with 41 additions and 2 deletions

View file

@ -261,4 +261,10 @@ public class Hand extends StoneTray<Stone> implements IHand {
}
return false;
}
@Override
public int getIdenticalStoneCount() {
// TODO Auto-generated method stub
return 0;
}
}

View file

@ -34,5 +34,12 @@ public interface IHand extends IStoneTray<Stone> {
*
* @return true if an initial meld is possible
*/
public abstract boolean isInitialMeldPossible();
public boolean isInitialMeldPossible();
/**
* Counts the pairs of identical stones
*
* @return number of identical stone pairs
*/
public int getIdenticalStoneCount();
}