Generally, you write one unit test per model.
一般情况下,要为每个模型编写一个单元测试。
A small glass of wine, or half a pint of beer is one unit.
一小杯的葡萄酒或者半品脱的啤酒为一个单位。
yui-gc makes one unit 66% and the other unit 33% of the available width.
yui-gc 将两个单元分别设置为可用宽度的 66%和 33%。
The building was inspired by plant forms and combines several volumes into one unit.
设计灵感来自植物造型,设计师将几个建筑单元整合一起。
The illness and maladjustments of one unit of the mass affects all other members.
这个团体中的任何个体的疾病或不适应都会影响到所有其他的成员。
I have learned one unit already.
我已经学了一个单元了。
Electric engineers try to knit TV, radio, picture - tel, fax and copy machine into one unit.
电气工程师尽力把电视、收音机、可视电话、传真机和复印机综合在一个单元中。
Analogously, if we could relax the sugar constraint by one unit, the objective function would improve by 0.075.
类似地,如果我们将糖约束放松一个单位,那么目标函数就会改进0.075。
Some goods, however, are of a special nature. They are homogeneous, so that no one unit can be distinguished from another.
但是某些物品却比较特殊,它们具有同质性,以至于一件这样的物品无法和另一件同类物品区分开来。
Commercial lending, Barclays Capital (the investment bank) and wealth management have been brought together into one unit.
商业借贷、巴克莱资本(投资银行)和财富理财业务已经整合成一个部门。
The cable normally consists of parallel wires of high tensile steel individually spun at site and bound into one unit.
索缆一般是由平行的高强钢丝组成。在施工现场将一根根单独的高强钢丝编在一起,并捆扎成索。
Continuous classification test was made on pure quartz in one unit of tilting narrow up - flow classification equipment.
用一个单元的斜窄流分级装置,开展了石英单矿物的连续分级试验。
To study one unit repairable system with single repairman vacation, a kind of new maintenance and replacement model is proposed.
针对修理工带有单重休假的单部件可修系统,提出了一种新的维修更换模型。
Rhythmic gymnastics is a kind of women sport events which incorporates dancing, gymnastics, acrobatic gymnastics and music into one unit.
艺术体操是一项女子特有的,集舞蹈、体操、技巧和音乐为一体的竞技体育运动项目。
For every one unit increase in BMI in the teen years, the study found a 12 percent increase in the risk of heart disease around 20 years later.
研究表明在青少年时期,BMI指数每增加一个单位,20年后你患心脏病的几率就会增加12%。
Using DocBook XML gives you the ability to partition your documentation into many files that can be compiled into one unit and potentially reused.
使用DocBookXML使您能够将文档分割为多个文件,这些文件可以编译成一个单元并能够重用。
All dimensions specified are approximations only. Unless stated otherwise, the least significant digit is uncertain by plus or minus one unit.
所有特定尺寸都只是近似值。除非特殊说明,否则最不重要的数字的不确定性体现在加上或者减去一个单位。
You can switch back and forth between data and code sections, but when the program is assembled it will bring all of each section together into one unit.
您可以在数据部分和代码部分之间自由切换,但当程序被汇编时,会将所有部分汇编到一起,组成一个单元。
Thus, more units are condensed and evaporated in condenser and evaporator respectively for one unit of refrigerant vapor generated from the generator.
这样,对发生器产生的单位质量蒸汽,会有更多的制冷剂分别在冷凝器和蒸发器中冷凝和蒸发。
In a short-running process, the services invoked are committed together as one unit of work; in the case of a failure, transactional services can roll-back.
在短期运行流程中,调用的服务被绑定到一起,就像一个工作单元一样;故障发生时,事务性服务能够回滚。
Siemens AG is combining its three global carrier divisions into one unit in an attempt to reduce costs in administration, sales and research and development.
西门子正在将其三个全球运营商分部合并为一,以降低管理、销售和研发的成本。
Alternatively, we could have decided to combine multiple or many departments into a single XML document, e.g. all those that belong to one unit (coarse granularity).
或者,我们也可以决定将多个部门组合到一个XML文档中,例如,将属于同一个单位的部门放入一个XML文档中(粗粒度)。
Listing 1 adds some div elements, mostly so you can deal with the image gallery as one unit, and details about the image (which you'll add soon) as the other major element.
清单1添加了一些div元素,主要是为了能够将图片库作为一个单元处理,有关图像的细节(稍候会添加)则作为另一个主要因素。
It has special unitized construction which consists of the seat, disc and stem assembly, and strainer screen all together in one unit for complete replacement maintenance.
它具有特殊的整体结构,由阀座,阀瓣和阀杆总成,以及过滤器网等整合在一个整体中,完全能够进行更换维护。
Therefore, for Test 1, Rational Performance Tester produces one unit of work to achieve two transactions, but in Test 3, it produces one unit of work to achieve one transaction.
因此,对于测试1,RationalPerformance Tester 进行一个单元的工作来完成两个事务,但在测试3 中,进行一个单元的工作来完成一个事务。
For instance, if you want to subdivide each of the two grids in the previous listing into two units where one unit is twice as wide as the other, you write the code shown in listing 10.
举例来说,如果您希望将之前清单中的两个网格继续划分为两个单元,其中一个单元是另一个单元的两倍宽度,可以编写如清单10所示的代码。
For instance, if you want to subdivide each of the two grids in the previous listing into two units where one unit is twice as wide as the other, you write the code shown in listing 10.
举例来说,如果您希望将之前清单中的两个网格继续划分为两个单元,其中一个单元是另一个单元的两倍宽度,可以编写如清单10所示的代码。
应用推荐