Allow setting stone colors to use
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@338 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
c004a07a42
commit
25c6383c73
6 changed files with 170 additions and 97 deletions
|
@ -113,7 +113,7 @@ public class StoneSetTest {
|
|||
new Stone(1, BLACK), new Stone(1, BLUE), new Stone(1, ORANGE)),
|
||||
defaultSettings);
|
||||
assertSet(GROUP, 6, Arrays.asList(new Stone(1, RED),
|
||||
new Stone(1, GREEN), new Stone(1, WHITE), new Stone(1, BLACK),
|
||||
new Stone(1, GREEN), new Stone(1, GRAY), new Stone(1, BLACK),
|
||||
new Stone(1, BLUE), new Stone(1, ORANGE)), moreColorSettings);
|
||||
}
|
||||
|
||||
|
@ -164,7 +164,7 @@ public class StoneSetTest {
|
|||
// More than 4 stones
|
||||
assertSet(INVALID, 0, Arrays.asList(new Stone(1, RED), new Stone(1,
|
||||
BLUE), new Stone(1, GREEN), new Stone(1, BLACK), new Stone(1,
|
||||
VIOLET), new Stone(1, ORANGE), new Stone(1, BROWN), new Stone(
|
||||
VIOLET), new Stone(1, ORANGE), new Stone(1, AQUA), new Stone(
|
||||
BLACK), new Stone(RED)), moreColorSettings);
|
||||
}
|
||||
|
||||
|
@ -191,8 +191,8 @@ public class StoneSetTest {
|
|||
new Stone(RED)), defaultSettings);
|
||||
assertSet(INVALID, 0, Arrays.asList(new Stone(1, RED), new Stone(1,
|
||||
BLUE), new Stone(1, GREEN), new Stone(1, BLACK), new Stone(1,
|
||||
VIOLET), new Stone(1, WHITE), new Stone(1, ORANGE), new Stone(
|
||||
1, BROWN), new Stone(RED)), moreColorSettings);
|
||||
VIOLET), new Stone(1, GRAY), new Stone(1, ORANGE), new Stone(
|
||||
1, AQUA), new Stone(RED)), moreColorSettings);
|
||||
}
|
||||
|
||||
/** */
|
||||
|
|
Reference in a new issue