summaryrefslogtreecommitdiff
path: root/main/tests/test_astar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/tests/test_astar.cpp')
-rw-r--r--main/tests/test_astar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/tests/test_astar.cpp b/main/tests/test_astar.cpp
index dee107f0af..e82d885af2 100644
--- a/main/tests/test_astar.cpp
+++ b/main/tests/test_astar.cpp
@@ -68,7 +68,7 @@ public:
bool test_abc() {
ABCX abcx;
- PoolVector<int> path = abcx.get_id_path(ABCX::A, ABCX::C);
+ Vector<int> path = abcx.get_id_path(ABCX::A, ABCX::C);
bool ok = path.size() == 3;
int i = 0;
ok = ok && path[i++] == ABCX::A;
@@ -79,7 +79,7 @@ bool test_abc() {
bool test_abcx() {
ABCX abcx;
- PoolVector<int> path = abcx.get_id_path(ABCX::X, ABCX::C);
+ Vector<int> path = abcx.get_id_path(ABCX::X, ABCX::C);
bool ok = path.size() == 4;
int i = 0;
ok = ok && path[i++] == ABCX::X;
@@ -304,7 +304,7 @@ bool test_solutions() {
for (int u = 0; u < N; u++)
for (int v = 0; v < N; v++)
if (u != v) {
- PoolVector<int> route = a.get_id_path(u, v);
+ Vector<int> route = a.get_id_path(u, v);
if (!Math::is_inf(d[u][v])) {
// Reachable
if (route.size() == 0) {