How to install Gtest On MacOS
git clone https://github.com/google/googletest.git
cd googletest
mkdir build && cd build
cmake -DCMAKE_CXX_STANDARD=17 ..
make
sudo make install
######test
mkdir gtestDemo
vi CMakeList.txt
echo “export CPLUS_INCLUDE_PATH=/usr/local/include" >> ~/.zshrc
echo "export LIBRARY_PATH=/usr/local/lib" >> ~/.zshrc
source ~/.zshrc #tell terminal there are new variables
#CMakeList.txt
cmake_minimum_required(VERSION 3.0)
set(CMAKE_CXX_STANDARD 17)
project(demo)
find_p