代码拉取完成,页面将自动刷新
doctest has been designed from the start to be as light and unintrusive as possible. These key features should be kept.
DOCTEST_CONFIG_DISABLE
identifierdoctest
namespace (and the implementation details are in a nested detail
namespace)-Weverything -pedantic
for clang
-Wall -Wextra -pedantic
and >> over 35 << other warnings not covered by these flags for GCC!!! - see here
/Wall
for MSVC
argc
/argv
from the command lineSOME OF THIS IS OUTDATED
DOCTEST_CONFIG_DISABLE
macroApprox()
helperdescription
/ skip
/ may_fail
/ should_fail
/ expected_failures
/ timeout
DOCTEST_CONFIG_NO_EXCEPTIONS
main()
can be provided when implementing the library with the DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
identifierdoctest.h
headerdoctest::Context
s can be created and ran many times within a single execution of the programdoctest::is_running_in_test
doctest_discover_tests(<target>)
from scripts/cmake/doctest.cmake
There is a list of planned features which are all important and big - see the roadmap.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。