如何使用Catch2测试Visual Studio中的大型项目
我在2019年的Visual Studio中有一个大项目。 我想通过catch2库对其进行测试。 我想知道如何正确包含我的项目吗? ,在main.cpp中。 #include #include…
Catch2 框架错误:未知类型名称“DNA”clang-tidy(clang-diagnostic-error)
我正在使用 catch2 框架进行单元测试。下面是我用来编译测试文件的命令。 bin/tests: ./tests/tests.cc ./src/dna_strand.cc ./includes/dna_strand.h…
- 共 1 页
- 1