Patrick Venture | 609fe98 | 2018-04-17 17:51:56 -0700 | [diff] [blame] | 1 | #include "hwmon.hpp" |
2 | |||||
3 | #include <gmock/gmock.h> | ||||
4 | #include <gtest/gtest.h> | ||||
5 | |||||
Patrick Venture | 043d323 | 2018-08-31 10:10:53 -0700 | [diff] [blame] | 6 | TEST(HwmonTest, InvalidType) |
7 | { | ||||
Patrick Venture | 043d323 | 2018-08-31 10:10:53 -0700 | [diff] [blame] | 8 | hwmon::Attributes attrs; |
9 | EXPECT_FALSE(hwmon::getAttributes("invalid", attrs)); | ||||
Patrick Venture | 609fe98 | 2018-04-17 17:51:56 -0700 | [diff] [blame] | 10 | } |