Create a gist now

Instantly share code, notes, and snippets.

#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