Skip to content
Snippets Groups Projects
Commit f1066322 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

gtest modified

parent 5b6da124
No related branches found
No related tags found
1 merge request!49Draft: Resolve "Adapt to new sensor constructors in core"
...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment