If you're like us, you'd like to look at
googletest samples.
The sample directory has a number of well-commented samples showing how to use a
variety of googletest features.
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.