首先,建立main.cpp文件: #include <gtest/gtest.h> int main(int argc, char *argv[]) ... 一定要先声明包含这两个文件include(GoogleTest) include(CTest) ...
確定! 回上一頁