📜  google test assert stdout - C++ 代码示例
📅  最后修改于: 2022-03-11 14:44:52.433000             🧑  作者: Mango
代码示例1
testing::internal::CaptureStdout();
std::cout << "My test";
std::string output = testing::internal::GetCapturedStdout();