Linking google test to your main project
问题 I am new to the gtest. I have followed a tutorial how to set it up in the VS 2105. But all that I could find talked about how to build and link gtest. I am passed that level. The code below runs and passes the first dummy test. #include "gtest/gtest.h" TEST(VI, simple) { EXPECT_EQ(false, false); } int main(int argc, char* argv[]) { testing::InitGoogleTest(&argc, argv); RUN_ALL_TESTS(); std::cin.get(); return 0; } My question: How do I exactly hook it up to my project that I want to test? Both