From 2a2238fc3020705337c7e0be3fa9163e912cddb9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu>
Date: Thu, 1 Oct 2020 17:47:10 +0200
Subject: [PATCH] normalized quaternion and commented test filter

---
 test/gtest_problem.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/gtest_problem.cpp b/test/gtest_problem.cpp
index 657ddc48a..a2fefcff6 100644
--- a/test/gtest_problem.cpp
+++ b/test/gtest_problem.cpp
@@ -246,7 +246,7 @@ TEST(Problem, StateBlocks)
     std::string wolf_root = _WOLF_ROOT_DIR;
 
     ProblemPtr P = Problem::create("PO", 3);
-    Eigen::Vector7d xs3d;
+    Eigen::Vector7d xs3d; xs3d << 1,2,3,0,0,0,1; // required normalized quaternion (solver manager checks this)
     Eigen::Vector3d xs2d;
 
     // 2 state blocks, fixed
@@ -564,6 +564,6 @@ TEST(Problem, getState)
 int main(int argc, char **argv)
 {
   testing::InitGoogleTest(&argc, argv);
-  ::testing::GTEST_FLAG(filter) = "Problem.getState";
+  //::testing::GTEST_FLAG(filter) = "Problem.getState";
   return RUN_ALL_TESTS();
 }
-- 
GitLab