You will simply have to get used to fixing each assertion failure as it comes up.
你只需要习惯于修复每个断言失败,因为它出现。
Examine these messages carefully, because they provide clues to the cause of the assertion failure.
请仔细地检查这些讯息,因为它们提供了造成判断提示失败的线索。
If you have enabled Just-in-time debugging, the dialog box can launch the debugger if it was not running when the assertion failure occurred.
如果已启用实时调试,且断言失败发生时调试器未运行,则该对话框可以启动调试器。
If your expression evaluates as false and thereby triggers an assertion failure, a predefined routine called assertion_failed declared in the header file assert.hpp is executed.
如果您的表达式计算得到false,因此触发了一个断言失败,那么将执行在头文件assert . hpp中声明的一个名为assertion_failed的预定义例程。
Although it's generally easier to determine which equals assertion caused the failure, true and false assertions are harder to find.
尽管通常判断失败由哪个equals断言引起相对比较容易,但断言的真假却较难判断。
Test failures are indicated by throwing unchecked exceptions, typically by using JUnit-provided assertion and failure methods.
测试失败通过抛出未经检查的异常来指示,通常使用JUnit提供的断言和故障方法指示。
Failure of an assertion is typically a symptom of a bug in the software, so it must be reported to the user.
失败的断言通常是软件bug的症兆,所以必须将它报告给使用者。
Lastly, in line 18 an assertion statement is issued to determine the success or failure of a test case.
最后,在第十八行的断言语句中,决定了这个测试用例的成功与失败。
Lastly, in line 18 an assertion statement is issued to determine the success or failure of a test case.
最后,在第十八行的断言语句中,决定了这个测试用例的成功与失败。
应用推荐