diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-06 00:02:22 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-06 00:02:22 +0200 |
commit | 9e246d84e31b8097bfbb72c7f0c7337d47df9e9e (patch) | |
tree | 25de30b83a7e5d4d84f3016ae1bd21790ef73f39 /core/test/ch/asynk | |
parent | 289d5150711e8b89be5caedeacb779ef277301c3 (diff) | |
download | RustAndDust-9e246d84e31b8097bfbb72c7f0c7337d47df9e9e.zip RustAndDust-9e246d84e31b8097bfbb72c7f0c7337d47df9e9e.tar.gz |
use ArrayList instead of Vector
Diffstat (limited to 'core/test/ch/asynk')
-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); |