https://github.com/catchorg/Catch2
<https://yq.aliyun.com/go/articleRenderRedirect?url=https%3A%2F%2Fgithub.com%2Fcatchorg%2FCatch2>

写起来也很简单:
#define CATCH_CONFIG_MAIN #include "catch.hpp" unsigned int factorial(
unsigned int n ) { return n <= 1 ? n : Factorial(n-1) * n; }
TEST_CASE("Factorials are computed", "[factorial]" ) { REQUIRE( factorial(1) ==
1 ); REQUIRE( factorial(2) == 2 ); REQUIRE( factorial(3) == 6 ); REQUIRE(
factorial(10) ==

友情链接
KaDraw流程图
API参考文档
OK工具箱
云服务器优惠
阿里云优惠券
腾讯云优惠券
华为云优惠券
站点信息
问题反馈
邮箱:[email protected]
QQ群:637538335
关注微信