sudo apt-get install git cmake libgtest-dev cd /usr/src/gtest sudo cmake CMakeLists.txt If at this point an error occurs, you might not have the gcc (c compiler ...
a test where the code being test is only the init function and nothing else and the login function must be called when the init funtion is called ...