Completely test initial display of hand stones
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@135 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
6cac00762b
commit
0318d8cee2
1 changed files with 5 additions and 0 deletions
|
@ -75,6 +75,9 @@ public class TurnControlTest {
|
|||
mockTable = new MockTable();
|
||||
mockHand = new MockHand();
|
||||
|
||||
|
||||
mockView.displayStartTurnPanel = false;
|
||||
|
||||
List<Pair<Stone, Position>> stones = Arrays.asList(new Pair<Stone, Position>(new Stone(RED), new Position(0,0)),
|
||||
new Pair<Stone, Position>(new Stone(BLACK), new Position(1,0)));
|
||||
|
||||
|
@ -88,6 +91,8 @@ public class TurnControlTest {
|
|||
i++;
|
||||
}
|
||||
assertEquals(stones.size(), i);
|
||||
|
||||
assertTrue(mockView.displayStartTurnPanel);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Reference in a new issue