assertion checking中文,assertion checking的意思,assertion checking翻译及用法

2026-01-09 12:12 浏览次数 15

assertion checking

断言检查

assertion checking 例句

英汉例句

  • because assertion checking is disabled by default no assertion error is detected.

    由于在缺省情况下禁用了断言检查,因此不会检测到任何断言错误。

  • assertion checking is disabled by default, so you'll also have to explicitly enable this facility at run time.

    缺省情况下,会禁用断言检查,因此在运行时您也要显式地启用这一功能。

  • now, run the program with assertion checking enabled

    现在,请带有启用断言检查运行该程序

  • running the program with assertion checking enabled produces the following error report

    带启用断言检查运行程序产生下面的错误报告

  • in addition to enabling assertion checking from the command line, you can also programmatically enable (or disable) checking.

    除了从命令行启用断言检查之外,您也可以通过编程启用(或禁用)检查。

  • assertion checking is like exception handling, but no exception is thrown when an assertion fails. instead, an assertionerror is thrown.

    断言检查就象异常处理,但是当断言失败时,却不会抛出异常,而会抛出一个 assertionerror 。

相关热词