hwmon module unit-tests -- first one

This patchset just starts the process of adding unit-tests
to the hwmon module.

Change-Id: I569aa97658b0ff56634ddf1a599fedb4caa95abe
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/test/hwmon_unittest.cpp b/test/hwmon_unittest.cpp
new file mode 100644
index 0000000..035d098
--- /dev/null
+++ b/test/hwmon_unittest.cpp
@@ -0,0 +1,12 @@
+#include "hwmon.hpp"
+
+#include <gmock/gmock.h>
+#include <gtest/gtest.h>
+
+TEST(HwmonTest, InvalidType) {
+
+  hwmon::Attributes attrs;
+  EXPECT_FALSE(hwmon::getAttributes("invalid", attrs));
+
+}
+