Accommodate n-Dimensional HR coordinates
refs: #3751
Change-Id: Ib705b671daba56f58e09876a48d8b31649bd7ab1
diff --git a/tests/test-conf-parameter.cpp b/tests/test-conf-parameter.cpp
index 2d69a27..55a65b1 100644
--- a/tests/test-conf-parameter.cpp
+++ b/tests/test-conf-parameter.cpp
@@ -61,7 +61,9 @@
cp1.setCorR(2.5);
- cp1.setCorTheta(102.5);
+ std::vector<double> angles = {102.5};
+
+ cp1.setCorTheta(angles);
cp1.setInfoInterestInterval(3);
@@ -89,7 +91,7 @@
BOOST_CHECK_EQUAL(cp1.getHyperbolicState(), 1);
- BOOST_CHECK_CLOSE(cp1.getCorTheta(), 102.5, 0.0001);
+ BOOST_CHECK(cp1.getCorTheta() == angles);
BOOST_CHECK_EQUAL(cp1.getInfoInterestInterval(), 3);
}