From 1a9f2cb1b75f1eca57cf618f8df2d2efe059481a Mon Sep 17 00:00:00 2001 From: dellaert Date: Tue, 17 Feb 2015 00:12:35 +0100 Subject: [PATCH] Got rid of header bloat --- gtsam/slam/tests/testOrientedPlane3Factor.cpp | 20 ++++++------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/gtsam/slam/tests/testOrientedPlane3Factor.cpp b/gtsam/slam/tests/testOrientedPlane3Factor.cpp index fa16a0f91..8832315bc 100644 --- a/gtsam/slam/tests/testOrientedPlane3Factor.cpp +++ b/gtsam/slam/tests/testOrientedPlane3Factor.cpp @@ -16,21 +16,11 @@ * @brief Tests the OrientedPlane3Factor class */ -#include -#include #include -#include -#include -#include -#include #include -#include -#include -#include -#include #include -#include #include + #include #include #include @@ -43,7 +33,8 @@ using namespace std; GTSAM_CONCEPT_TESTABLE_INST(OrientedPlane3) GTSAM_CONCEPT_MANIFOLD_INST(OrientedPlane3) -TEST (OrientedPlane3, lm_translation_error) +// ************************************************************************* +TEST (OrientedPlane3Factor, lm_translation_error) { // Tests one pose, two measurements of the landmark that differ in range only. // Normal along -x, 3m away @@ -87,7 +78,8 @@ TEST (OrientedPlane3, lm_translation_error) EXPECT (assert_equal (optimized_plane_landmark, expected_plane_landmark)); } -TEST (OrientedPlane3, lm_rotation_error) +// ************************************************************************* +TEST (OrientedPlane3Factor, lm_rotation_error) { // Tests one pose, two measurements of the landmark that differ in angle only. // Normal along -x, 3m away @@ -128,7 +120,7 @@ TEST (OrientedPlane3, lm_rotation_error) } // ************************************************************************* -TEST( OrientedPlane3DirectionPriorFactor, Constructor ) { +TEST( OrientedPlane3DirectionPrior, Constructor ) { // Example: pitch and roll of aircraft in an ENU Cartesian frame. // If pitch and roll are zero for an aerospace frame,