diff options
Diffstat (limited to 'core/test/ch/asynk/tankontank')
-rw-r--r-- | core/test/ch/asynk/tankontank/BoardUtils.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/test/ch/asynk/tankontank/BoardUtils.java b/core/test/ch/asynk/tankontank/BoardUtils.java index 56c6637..3f4ca7e 100644 --- a/core/test/ch/asynk/tankontank/BoardUtils.java +++ b/core/test/ch/asynk/tankontank/BoardUtils.java @@ -1,7 +1,7 @@ package ch.asynk.tankontank; import java.util.List; -import java.util.Vector; +import java.util.ArrayList; import java.util.HashSet; import org.junit.Test; @@ -31,11 +31,11 @@ public class BoardUtils public void testPaths() { Helpers.FakePawn p = new Helpers.FakePawn(3); - List<Vector<SearchBoard.Node>> paths = sb.possiblePaths(p, 2, 2, 4, 3); + List<ArrayList<SearchBoard.Node>> paths = sb.possiblePaths(p, 2, 2, 4, 3); assertTrue(paths.size() == 8); - for(Vector<SearchBoard.Node> path : paths) { + for(ArrayList<SearchBoard.Node> path : paths) { assertTrue((path.size() == 3) || (path.size() == 4)); SearchBoard.Node n = path.get(0); |