• 这个需要一个字符串作为测试套件名称

    The macro expects a string that is the name of the test suite.

    youdao

  • 我们稍后研究这些及其内容但是看看使用这个测试套件客户机代码 清单11)。

    We'll examine these macros and their contents in a moment, but first, take a look at the client code in Listing 11, which uses this test suite.

    youdao

  • 注意,RUN_ALL_TESTS自动地探测运行test定义所有测试

    Note that RUN_ALL_TESTS automatically detects and runs all the tests defined using the test macro.

    youdao

  • 只需调用预定义run_all_tests,而不需要通过创建驱动单独运行器执行测试

    Just making a call to the predefined RUN_ALL_TESTS macro does the trick, as opposed to creating or deriving a separate runner class for test execution.

    youdao

  • 使用 BOOST_TEST_CASE创建单元测试函数指针作为输入参数

    The unit tests that are created using the BOOST_TEST_CASE macros accept function pointers as their input arguments.

    youdao

  • 创建使用测试套件

    Creating a test suite without using macros.

    youdao

  • Boost一整套测试工具基本上可以说它们用于验证表达式

    Boost has a whole host of test tools, which are basically macros used to validate expressions.

    youdao

  • 基本思想使用Boost提供测试各个特性

    The basic idea is to test individual class features using Boost-provided macros.

    youdao

  • 每个测试套件(比如清单17中的ts1)都是使用BOOST _ test_suite创建的。

    Each test suite (for example, ts1 in Listing 17) is created by using the macro BOOST_TEST_SUITE.

    youdao

  • 要想创建使用测试套件应该实例化CppUnit::TestSuite然后套件中添加测试

    To create a test suite without macros, instantiate CppUnit::TestSuite, and then add individual tests to the suite.

    youdao

  • HelperMacros . h中定义的CPPUNIT _ test_suite可以简化创建测试套件在其中添加测试的流程。

    The CPPUNIT_TEST_SUITE macro, defined in HelperMacros.h, simplifies creating a test suite and adding individual tests to it.

    youdao

  • 运行这个测试时,尽管使用作为标准一部分提供sqrt函数,boost_check仍然会失败。

    On running this test, the BOOST_CHECK macro fails despite the fact that you're using the SQRT function provided as part of the standard library.

    youdao

  • 以下用于修改了本源代码进行测试

    The following macros are useful for testing when changing the source code of the library.

    youdao

  • 对剃齿刀断口进行、微观检验、化学成分分析、硬度测试和非金属夹杂物及显微组织检验。

    Micro-analysis of the Internal Control Performance System of Capital Operation of State-owned Commercial Banks Based on Data Validation;

    youdao

  • 对剃齿刀断口进行、微观检验、化学成分分析、硬度测试和非金属夹杂物及显微组织检验。

    Micro-analysis of the Internal Control Performance System of Capital Operation of State-owned Commercial Banks Based on Data Validation;

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定