StoneSet fertig und getestet :-)
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@47 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
027656acf7
commit
22b163ca9c
2 changed files with 12 additions and 10 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue