summaryrefslogtreecommitdiff
path: root/test/sensorIMUTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/sensorIMUTest.cpp')
-rw-r--r--test/sensorIMUTest.cpp50
1 files changed, 0 insertions, 50 deletions
diff --git a/test/sensorIMUTest.cpp b/test/sensorIMUTest.cpp
deleted file mode 100644
index d16930e..0000000
--- a/test/sensorIMUTest.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-#include <iostream>
-#include <vector>
-#include <gtest/gtest.h>
-#include "../include/sensorIMU.hpp"
-#include "../include/rocketUtils.hpp"
-
-class IMUSensorTest : public ::testing::Test {
-
- protected:
-
- IMUSensorTest() {
-
- imu = new IMUSensor();
- }
-
- //~IMUSensorTest() {}
-
- IMUSensor *imu;
-};
-
-
-/**
- * @brief Test a
- *
- * **/
-TEST_F(IMUSensorTest, init) {
-
- Vehicle rocket;
-
- imu->init((void*)&rocket);
-
- // ASSERT Statements.....
-}
-
-
-/**
- * @brief Test a
- *
- * **/
-TEST_F(IMUSensorTest, getData) {
-
- Vehicle rocket;
-
- imu->getData((void*)&rocket);
-
- // ASSERT Statements.....
-}
-
-
-// TODO: FIGURE OUT WHY MAKING 'rocket' a POINTER CAUSES A SEGFAULT