Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
imu
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_lib
plugins
imu
Commits
f1066322
Commit
f1066322
authored
1 year ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
gtest modified
parent
5b6da124
No related branches found
No related tags found
1 merge request
!49
Draft: Resolve "Adapt to new sensor constructors in core"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/gtest_load_imu.cpp
+5
-12
5 additions, 12 deletions
test/gtest_load_imu.cpp
with
5 additions
and
12 deletions
test/gtest_load_imu.cpp
+
5
−
12
View file @
f1066322
...
@@ -18,24 +18,17 @@
...
@@ -18,24 +18,17 @@
// You should have received a copy of the GNU Lesser General Public License
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
#include <
core/utils/utils_
gtest.h>
#include
<
gtest/
gtest.h>
#include
"imu/utils/load_imu.h"
#include
"imu/utils/load_imu.h"
WOLF_LOAD_IMU
// This test is to check if when loading plugin 'imu', 'core' is automatically loaded
// Commenting the following line, it can be seen that no classes are registered in the factories, this means that 'imu'
// This test is to check if when loading plugin imu, automatically core is loaded
// and 'core' are not loaded when 'imu' is not loaded.
WOLF_LOAD_IMU
;
TEST
(
load_imu
,
DummyTestExample
)
TEST
(
load_imu
,
DummyTestExample
)
{
{
EXPECT_FALSE
(
false
);
EXPECT_FALSE
(
false
);
ASSERT_TRUE
(
true
);
int
my_int
=
5
;
ASSERT_EQ
(
my_int
,
5
);
// PRINTF("All good at TestTest::DummyTestExample !\n");
}
}
int
main
(
int
argc
,
char
**
argv
)
int
main
(
int
argc
,
char
**
argv
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment