使用GoogleTest写测试用例安装配置步骤 在镜像源下载googletest文件夹 git clone https://gitcode.net/mirrors/google/googletest.git 将该文件夹放在所在的工程文件夹下 在CMakeLists.txt中加入相应的配置