summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/model
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-05-01 01:23:15 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-05-01 01:23:15 +0200
commit22b163ca9c31c750f4701f01c472ee04f8f2ed14 (patch)
treef9ca8cd27145dc9d27d826a384d81aa3febfff26 /test/jrummikub/model
parent027656acf714c8c2015cd7a8d3b84367e4b97640 (diff)
downloadJRummikub-22b163ca9c31c750f4701f01c472ee04f8f2ed14.tar
JRummikub-22b163ca9c31c750f4701f01c472ee04f8f2ed14.zip
StoneSet fertig und getestet :-)
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@47 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test/jrummikub/model')
-rw-r--r--test/jrummikub/model/StoneSetTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/jrummikub/model/StoneSetTest.java b/test/jrummikub/model/StoneSetTest.java
index b2d6a46..1b4e062 100644
--- a/test/jrummikub/model/StoneSetTest.java
+++ b/test/jrummikub/model/StoneSetTest.java
@@ -93,14 +93,14 @@ public class StoneSetTest {
}
// invalid Split
- @Test(expected = AssertionError.class)
+ @Test(expected = IndexOutOfBoundsException.class)
public void testSplitInvalidLow() {
StoneSet testSet = createTestSet();
testSet.splitAt(0);
}
- @Test(expected = AssertionError.class)
+ @Test(expected = IndexOutOfBoundsException.class)
public void testSplitInvalidHigh() {
StoneSet testSet = createTestSet();
testSet.splitAt(3);