摘要:
1. 安装gtest 2. 测试demo 文件名:13_gtest.cpp #include <iostream> #include "gtest/gtest.h" using namespace std; int sum(int a, int b) { return a + b; } TEST(M 阅读全文
摘要:
#include <iostream> #include <string> using namespace std; class P { public: int id; string name; public: P() { cout << "wu can p gou zao " << endl; } 阅读全文
摘要:
#include <iostream> #include <string> using namespace std; class P { public: int id; string name; public: P() { cout << "wu can p gou zao " << endl; } 阅读全文