Move the sensor utils into their own module
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I22f6a951921095660fd2be502e59a38161565a95
diff --git a/test/util_unittest.cpp b/test/util_unittest.cpp
index 6e5e548..457c470 100644
--- a/test/util_unittest.cpp
+++ b/test/util_unittest.cpp
@@ -1,10 +1,15 @@
-#include "util.hpp"
+#include "sensors/build_utils.hpp"
#include <string>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
+namespace pid_control
+{
+namespace
+{
+
TEST(UtilTest, WriteTypeEmptyString_ReturnsNONE)
{
// Verify it responds to an empty string.
@@ -80,3 +85,6 @@
std::string path = "asdf09as0df9a0fd";
EXPECT_EQ(IOInterfaceType::UNKNOWN, getReadInterfaceType(path));
}
+
+} // namespace
+} // namespace pid_control