googletest的第二个样例
时间: 2024-04-25 09:25:13 浏览: 61
引用\[2\]提到了googletest的示例代码存放在googletest-main/googletest/samples下,但是示例不能直接运行,需要建立cmake工程进行编译。因此,如果你想查看googletest的第二个样例,你需要先下载并解压googletest,然后在cmake工程中编译运行示例代码。具体的示例功能和说明可以在googletest-main/docs/samples.md中找到。
#### 引用[.reference_title]
- *1* *3* [在Qt中使用Google Test](https://blog.csdn.net/u010750137/article/details/104710846)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Google Test(gtest)新手入门](https://blog.csdn.net/I_just_smile/article/details/131834829)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文