From c33e14d54b0a48e8d5f0a865c8ca7c88eddf134c Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Mon, 9 May 2011 20:27:47 +0200 Subject: 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 --- test/jrummikub/model/StoneSetTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/jrummikub/model') 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 -- cgit v1.2.3