Accommodate n-Dimensional HR coordinates
refs: #3751
Change-Id: Ib705b671daba56f58e09876a48d8b31649bd7ab1
diff --git a/tests/publisher/test-lsdb-status-publisher.cpp b/tests/publisher/test-lsdb-status-publisher.cpp
index be21670..c9412ad 100644
--- a/tests/publisher/test-lsdb-status-publisher.cpp
+++ b/tests/publisher/test-lsdb-status-publisher.cpp
@@ -49,14 +49,18 @@
addAdjacency(routerBAdjLsa, "/RouterB/adjacency3", "udp://face-3", 30);
lsdb.installAdjLsa(routerBAdjLsa);
+ std::vector<double> anglesA = {20.00},
+ anglesB = {543.21},
+ anglesC = {0.02, 2.25};
+
// Install coordinate LSAs
- CoordinateLsa routerACorLsa = createCoordinateLsa("/RouterA", 10.0, 20.0);
+ CoordinateLsa routerACorLsa = createCoordinateLsa("/RouterA", 10.0, anglesA);
lsdb.installCoordinateLsa(routerACorLsa);
- CoordinateLsa routerBCorLsa = createCoordinateLsa("/RouterB", 123.45, 543.21);
+ CoordinateLsa routerBCorLsa = createCoordinateLsa("/RouterB", 123.45, anglesB);
lsdb.installCoordinateLsa(routerBCorLsa);
- CoordinateLsa routerCCorLsa = createCoordinateLsa("/RouterC", 0.01, 0.02);
+ CoordinateLsa routerCCorLsa = createCoordinateLsa("/RouterC", 0.01, anglesC);
lsdb.installCoordinateLsa(routerCCorLsa);
// Install Name LSAs