The assert statement was added in version 1.4.
assert语句是在版本1.4中加入的。
You can verify this by calling the assert statement on the last line.
这一点可以通过在最后一行上调用assert语句进行验证。
Add test conditions or other assert statement to verify the script results.
加入测试条件或其他判断提示陈述式来验证指令码的结果。
The assert statement simply verifies that the total_rows property is equal to 4.
assert语句仅验证to tal_rows属性是否等于4。
This problem can be caused when you place important code in an ASSERT statement to verify that it performs correctly.
当在assert语句中放置重要代码以验证代码执行的正确性时会导致此问题。
It didn't really crash, it found an assert statement. So if you look at the bottom of the function, you'll see that, in fact, I checked for that.
其实程序并没崩溃,它只是碰到一个断言语句然后停了下来,如果你看看函数的顶部,你会看到,实际上我断定计数器。
Without Jenabean, each property assertion requires you to access the property from the model, create a literal, and assert the new statement into the model by calling setPropertyValue(...).
没有使用 Jenabean,每个属性断言要求您从模型访问属性、创建一个字母并通过调用setPropertyValue(...) 将声明断言到模型。
Most programming languages have something called an assert-a statement that stops the processing when a certain condition is met, such as an unexpected value in an important variable.
大多数语言都具有一项称为断言的特性,这是一种会在满足某项条件时停止处理的语句,例如重要变量中出现超出预料的值。
I wholeheartedly disagree with that statement and assert chivalry is alive - it's just not what many women really want.
我十分诚恳的表示,我不同意这样的观点,并且保证,骑士精神还存在- - - - - - -但可能不是很多女士真正需要的。
The above simple test scenario performed one assert and resulted in a successful scenario due to the "assert true" statement.
上面这个简单的测试场景执行一个断言,由于使用了“asserttrue”语句,这个测试总会成功。
To see if an exception is raised in a certain line of code, you can add an assert false statement just after that line.
要查看在某行代码中是否抛出异常,您可以直接在这行代码之后加入assertfalse语句。
To assert or express the opposite of(a statement).
坚持对…的权利或对…的所有权。
The assertion code is executed during debugging, and if one of the conditions is found not to hold, execution statement condit assert usually stops with a message.
断言代码在调试阶段执行,如果发现某个执行代码语句条件没有得到满足,通常会给出相应信息并停止执行。
The assertion code is executed during debugging, and if one of the conditions is found not to hold, execution statement condit assert usually stops with a message.
断言代码在调试阶段执行,如果发现某个执行代码语句条件没有得到满足,通常会给出相应信息并停止执行。
应用推荐