diff options
author | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-09 20:27:47 +0200 |
---|---|---|
committer | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-09 20:27:47 +0200 |
commit | c33e14d54b0a48e8d5f0a865c8ca7c88eddf134c (patch) | |
tree | 443c7079dff872680f0e1799d2cb361ebbc19b39 /test/jrummikub/model/StoneSetTest.java | |
parent | d05b93990f607f0ee92003dd0e55bfe3b450e359 (diff) | |
download | JRummikub-c33e14d54b0a48e8d5f0a865c8ca7c88eddf134c.tar JRummikub-c33e14d54b0a48e8d5f0a865c8ca7c88eddf134c.zip |
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
Diffstat (limited to 'test/jrummikub/model/StoneSetTest.java')
-rw-r--r-- | test/jrummikub/model/StoneSetTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/jrummikub/model/StoneSetTest.java b/test/jrummikub/model/StoneSetTest.java index 72a43f7..e7998e4 100644 --- a/test/jrummikub/model/StoneSetTest.java +++ b/test/jrummikub/model/StoneSetTest.java @@ -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 |