Sample #1 shows the basic steps of using googletest to test C++ functions. Sample #2 shows a more complex unit test for a class with multiple member functions. Sample #3 uses a test fixture. Sample #4 teaches you how to use googletest and googletest.h together to get the best of both libraries. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.