c++ 单元测试框架Catch2

官方教程有三种方式 方式1 如下 第一步:获取 Catch2,下载 catch.hpp 第二步:引入头文件 #include "catch.hpp" 第三步:写测试代码 #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include "catch.h
相关文章
相关标签/搜索