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