Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
wolf
Commits
dc3295de
Commit
dc3295de
authored
8 years ago
by
Dinesh Atchuthan
Browse files
Options
Downloads
Patches
Plain Diff
create gtest_constraint_imu.cpp file
parent
e28ab0fa
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/gtest_constraint_imu.cpp
+50
-0
50 additions, 0 deletions
src/test/gtest_constraint_imu.cpp
with
50 additions
and
0 deletions
src/test/gtest_constraint_imu.cpp
0 → 100644
+
50
−
0
View file @
dc3295de
//Wolf
#include
"wolf.h"
#include
"problem.h"
#include
"sensor_imu.h"
#include
"capture_imu.h"
#include
"state_block.h"
#include
"state_quaternion.h"
#include
"processor_imu.h"
#include
"utils_gtest.h"
#include
"../src/logging.h"
//#define DEBUG_RESULTS
class
ConstraintIMU_test
:
public
testing
::
Test
{
public:
virtual
void
SetUp
()
{
}
virtual
void
TearDown
()
{
// code here will be called just after the test completes
// ok to through exceptions from here if need be
/*
You can do deallocation of resources in TearDown or the destructor routine.
However, if you want exception handling you must do it only in the TearDown code because throwing an exception
from the destructor results in undefined behavior.
The Google assertion macros may throw exceptions in platforms where they are enabled in future releases.
Therefore, it's a good idea to use assertion macros in the TearDown code for better maintenance.
*/
}
};
TEST_F
(
ConstraintIMU_test
,
constructors
)
{
}
int
main
(
int
argc
,
char
**
argv
)
{
testing
::
InitGoogleTest
(
&
argc
,
argv
);
return
RUN_ALL_TESTS
();
}
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