前者期望条件总是成立,而后者期望两个值不匹配。
The former expects the condition to always be true while the latter expects the two values to be mismatched.
如果由于该函数中代码的错误,您期望退出时为真的条件并不为真,那么这些断言能够确保您知道这一点。
This ensures that you get to know if, due to a bug in the code in this function, the conditions that you expect to be true on exit, are not.
我们期望美国更忙碌,在整个欧洲活动的个人市场活动中的未决条件将会减少。
We expect the us to be much busier and, pending conditions in individual markets, there is likely to be a pick-up in activity across Europe.
那些忠诚于美国的公司付出了超过经济价值以外的贡献,它们期望美国的礼尚往来:宽松的合同,还可能是津贴或者是为了它们的便利而设立的条件。
Firms in which loyalty to the state goes beyond the economic value it offers usually expect something in return-soft contracts and subsidies, perhaps, or standards conveniently set in their interest.
为了能切身体会,您可以设计一个小测试程序,这个程序当且仅当期望的条件得到满足时才可以编译。
To see this yourself, design a small test program that will compile if and only if the desired condition is true.
要求人们对信息质量负责有一个前提条件,你必须已经提供了相应的程序、方法和培训以便人们能够真正达到客户对质量的期望。
You must have provided the processes, methods, and training so people can actually accomplish the quality expectations of their customers.
在该方法中,您可以选择从JUnit框架执行任意数量的断言,以确定给定的条件或给定的状态是否是您期望的。
In this method, you have the option of performing any number of assertions from the JUnit framework to determine if a given condition or a given state is what you expect.
在这个啤酒欢迎度民意测验的示例中,在虚假设条件下的期望频率如下。
In the case of this beer poll, the expected frequency under the null hypothesis is the following.
我们如何确保技术进步不会导致那些不被期望、或在某种条件下才有价值的特性得到增强呢?
How can we ensure that technological progress does not lead to enhancements of traits that are either not desired, or that are only conditionally valuable?
假定用于指定“期望”应该符合的条件,而由于某些限制,该条件无法得到编译器的验证。
Assumptions are used to specify conditions that are supposed to be met but which the compiler cannot verify due to its limitations.
然后,我填写期望的结果部分,添加后置条件,就这样一轮一轮的进行下去。
Then, I filled in the Desired outcome section, and skipped down and added a postcondition, and around and around I went.
然后人们本来应该期望,各国将会排着队等候被确认为符合贷款条件的国家。
One would have expected, then, that countries would queue up to be certified eligible for a loan.
选择器使用选择条件来选择要调用的期望服务实现的目标。
The selector USES a selection criterion to choose a destination that is the desired service implementation to invoke.
本教程的目的是添加ocl的文本约束条件来限制模型的非期望的实例,并且因而达到更高的成熟级别(参见参考资料[1],了解更多详情)。
The goal of this tutorial is to add textual constraints in OCL to restrict undesired instances of the model, and thus reach higher levels of maturity (See the Resources [1] section for more details).
任何消费者在使用该功能之前所期望具备的前提条件。
Any preconditions that consumers are expected to meet before using the capability.
许多人期望良好的工作条件,让孩子们受到更多教育。
Many people desire better working conditions and more education for their children.
强类型:不支持使用字符串来设置期望(expectations),也不支持Object类型的返回值和约束条件。
Strong-typed: no strings for expectations, no object-typed return values or constraints.
尽管大学宿舍的居住条件发生了持续而显著的改善,但它们仍达不到富人们的期望值。
Despite vast and continuing improvements of living conditions offered in university dormitories, they still do not meet the expectations of the rich.
总之,虽然在实验室条件下髋关节表面置换部件的几何学可能限制他们的活动度,临床病人可能期望恢复到正常,如果不是更好,活动度则在HRA之后。
In summary, although the geometry of hip resurfacing components may limit their ROM in the laboratory setting, clinically patients may expect to achieve equivalent, if not better, ROM following HRA.
一个大型挡风玻璃雨刷厂的经理,需要估计一下在一般驾驶条件下雨刷平均使用寿命的期望值有多大。
A large manufacturer of windshield wiper blades needs to estimate the mean life users of the blades can expect under typical driving conditions.
本文给出了条件数学期望的几何定义,证明了该定义与其它定义的一致性。
In this paper, We give a geometrical definition of conditional expectation. Identity of the definition and other definitions is discussed.
所以,我们不能期望为有趣的论题找到必需和充分的条件。
So we cannot expect to find necessary and sufficient conditions for an interesting topic.
具体表现为运用线性完备变换方法,以贷款组合风险最小为目标函数,以贷款组合期望收益率为约束条件建立模型。
It represent in the model setup with the linear complete transfer and the minimum risk of loans portfolio as the target function and the constraint of earning yield risk value.
本文将拉丁超立方抽样法与条件期望和对偶变数方差减缩技术组合用于分析船体总纵极限强度可靠性。
This paper proposes Latin hypercube sampling combined with variance reduction techniques of conditional expectation and antithetic variates to assess ultimate strength reliability of ship hull girder.
文中导出了期望的简化模型的存在条件及解析表达式,并提供了一个数值算例。
Existence conditions for expected order reduction model and their analytical expressions are given. Finally, a numerical example is also presented.
积极参与课程中的小组分析讨论、口头报告练习,在学习的过程和期望在本课堂成功上乃是必要条件。
Constructive participation in the group analyses, discussions and speaking exercises that take place in class is crucial to the learning process and to the success of the workshop.
投资者的目的是:在保证固定消费正常进行的条件下,使最终财富的期望效用最大。
Under the condition that the fixed consumption can be guaranteed, we tries to maximize expected utility from final wealth.
投资者的目的是:在保证固定消费正常进行的条件下,使最终财富的期望效用最大。
Under the condition that the fixed consumption can be guaranteed, we tries to maximize expected utility from final wealth.
应用推荐