Gtest template C++ template project to test a function Build mkdir build cd build cmake .. or cmake -Bbuild -H. Test cd build make ctest Run cd build ./average 1 2 3 4...