Skip to content

Instantly share code, notes, and snippets.

@kenKanata56
Created July 16, 2016 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenKanata56/847094abc471164aee4046e91da569d8 to your computer and use it in GitHub Desktop.
Save kenKanata56/847094abc471164aee4046e91da569d8 to your computer and use it in GitHub Desktop.
#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