Created
July 16, 2016 09:23
-
-
Save kenKanata56/847094abc471164aee4046e91da569d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "gtest/gtest.h" | |
class LedDriverTest : public ::testing::Test{ | |
protected: | |
virtual void SetUp(){ | |
printf("set_up\n"); | |
} | |
virtual void TearDown(){ | |
printf("tear_down\n"); | |
} | |
}; | |
TEST_F(LedDriverTest,LedsOffAftestCreate) | |
{ | |
printf("LedOff\n"); | |
EXPECT_EQ(0,0); | |
} | |
TEST_F(LedDriverTest,LedCheck){ | |
printf("LedCheck\n"); | |
EXPECT_EQ(1,1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment