Regression test for very embarrassing bug in StoneSet.isValid known as

the 12-12-7

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@192 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Jannis Harder 2011-05-09 20:27:47 +02:00
parent d05b93990f
commit c33e14d54b

View file

@ -90,7 +90,8 @@ public class StoneSetTest {
assertSet(INVALID, Arrays.asList(new Stone(4, RED), new Stone(5, RED)));
assertSet(INVALID, Arrays.asList(new Stone(4, BLUE), new Stone(5, RED),
new Stone(6, RED)));
// Regression test:
assertSet(INVALID, Arrays.asList(new Stone(12, ORANGE), new Stone(12, BLACK), new Stone(7, BLUE)));
}
// invalid Split