Fix StoneTrayTest

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@105 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Bennet Gerlach 2011-05-04 16:45:09 +02:00
parent c9843770dd
commit 4870017d27

View file

@ -137,7 +137,6 @@ public class StoneTrayTest {
assertEquals(1, thirdPosition.getY(), 0.00001);
}
@Test
public void testWrongPickUp() {
Thing firstThing = new Thing(5, 5);
@ -170,7 +169,6 @@ public class StoneTrayTest {
assertNull(testTray.pickUp(testPosition));
}
@Test
public void testIterate() {
List<Thing> testThings = new ArrayList<Thing>();
@ -199,8 +197,7 @@ public class StoneTrayTest {
testTray.drop(firstThing, new Position(0, 0));
Thing secondThing = new Thing(3, 3);
testTray.drop(secondThing, new Position(-5, -5));
StoneTray<Thing> trayCopy = testTray.clone();
IStoneTray<Thing> trayCopy = testTray.clone();
testTray.pickUp(firstThing);
for (Pair<Thing, Position> i : testTray) {