什么是边界情况呢?
Listing 5. Another edge case verified with ease!
清单5.轻松验证另一个极端例子!
That's extreme edge case and probably very hard to test. So leave it. QA agrees.
这是一个相当极端的方式,非常难测试,所以先不要管这个。
The last step is verifying the other dreaded edge case, where an invalid word is entered.
最后一步是检验其他糟糕的极端例子——输入了无效的单词。
Listing 4. Testing an edge case: What if someone presses the button without typing in a word?
清单4.测试一个极端例子:如果有人没有输入单词就按下了按钮该怎么办?
The edge case that makes edit-in-place a real problem is adding a new entry to the list.
现场编辑成为一个实际问题的边缘情况是为列表添加一个新的条目,多数设计师采用其他习惯用法添加项目。
Note that this test case doesn't test edge cases, such as if the two password fields (newPassword1 and newPassword2()) didn't match.
请注意这个测试用例没有测试边界用例,例如:如果两个口令字段(newPassword1和newPassword2())不匹配。
In doing so I gain some momentum and perhaps some insight in how the algorithm should behave on an edge case and a few normal cases.
如许做让我获得了一些动力,或者说是洞察到了目标算法在鸿沟和通俗测试用例上的发挥解析。
Fixes an edge case where doing the quest on a server would make you unable to unlock the key trader in single player, and vice versa.
在服务器中进行单人游戏时无法解锁关键商人的极端情况已修复,反之亦然。
Putting this all together yields a flexible test class that verifies two scenarios: a sunny-day path and an edge case where no definition is provided, as shown in Listing 7.
结果产生一个灵活的文本类,它将检验两种场景:一种是良好的场景,而另一种是没有提供定义的边界用例,如清单7所示。
Most of the text has a very smooth edge and does not appear choppy at all, but that's not the case for the small text at the top and bottom of the page.
大部分文字都有平滑边缘,但页面顶部和底部的小字则保留了锯齿。
In this case, we reserve five pixels as a transparent border between the grid components and each edge of the panel display.
在这个例子中,我们在网格组件与面板的各个边缘之间预留5个像素,作为一个透明的边框。
His finger is poised over the Manual Fire button in case the thrusters don't kick in at the right instant, which could cause the Soyuz to skip off the edge of the atmosphere like a stone on a pond.
他的手指悬在手动启动按钮上,以防推进器不能立刻启动。如果没能正常启动,联盟号就会像投入池塘的石子一样,在大气层上方消失不见踪影。
MLS looks through the edge of Earth’s atmosphere to measure gases, in this case ozone and chlorine monoxide, one of the most dominant ozone-destroying gases.
MLS会穿过地球的两极来观测气体数据,这里会用到的主要是臭氧与氯的氧化物(chlorine monoxide)数据,而后者就是破坏臭氧的最为主要的物质。
Or perhaps barking in general sets your teeth on edge, in which case you might want to go with a quieter dog such as a Border Collie, Beagle, Siberian Husky or Old English Sheepdog.
或许叫声,在你的牙齿边缘,在这种情况下,你可能想要去一个安静的狗,如一般设置一个边境牧羊犬,猎犬,哈士奇或旧英国牧羊犬。
According to industry lore, the case was good for business. Clients after a broker with an edge lined up to hire him.
从行业的眼光来看,这位经纪人的行为是有利于股票交易的。此后,顾客们都挤破了头要雇用他。
In any case, experts say, books are not about to be eclipsed by more cutting-edge media and art forms.
专家们认为,不管怎么说,图书都不会因为更先进的媒体和艺术形式的存在而黯然失色。
The amplitude of edge waves is much smaller than that of forcing waves in the case of straight coastline and two-dimensional shelf topography.
对地平直海岸和二维大陆架,自由边缘波的振幅远小于强迫波的振幅。
A ledge is designed in the gap between the brick membrane and the outer edge for placing flower-boxes and providing access to the Windows from outside in case of cleaning.
砖模和外缘放置花箱之间设计有窗架,可以在清洁的时候提供到窗户外面的通道。
In the case of rs 422 encoders (TTL) the resolution can be improved by a factor of four by means of edge evaluation.
在RS 422的情况,入码器(TTL)分解能经由边缘评估被四的因数改良。
Then through case analysis way, thus manifested four kinds of manifestations which the society adapted: Assimilation, conformity, differentiation as well as edge.
然后通过案例分析的方式,从而体现出了社会适应的四种表现形式:同化、整合、分化以及边缘化。
A modular case and method of forming the same, the case preferably formed from a plurality of panels, edge members and corner pieces having ribs.
一种标准化组合箱盒及其形成的方法,箱盒最好由多于一块的具有肋板的面板、边缘构件和弯角形成。
In our case, the thin peripheral rim of restricted diffusion may represent an active edge of demyelination.
在我们的病例中,周边的弥散受限的薄壁环状影可能代表脱髓鞘病变的活动性边缘。
In case of performing negative applications a thick wet edge of unworked glaze should be left at the end of each section to help allow the blending of the next one.
在案件执行申请负一层厚厚的湿边未加工釉应留底每一节帮助,让勾兑的下一个步骤。
The panels, edge members and corner pieces are preferably connected to align the ribs, forming substantially continuous ribs capable of distributing forces over a large area of the modular case.
面板、边缘构件和弯角最好连接以对齐肋板,形成实质上连续的肋板,其能够把力分散到标准化组合箱盒的一广大区域上。
It is an object oriented CASE tool providing the competitive edge for system development, project management and business analysis.
这是一个面向对象的CASE工具提供的竞争力,为系统开发,项目管理和业务分析。
In this case, I feel like I am on edge and irritated.
在这种情况下,我感觉我好像是紧张不安,并且是被激怒了的。
Sometimes you may want to use the bleeding edge version of a pod. Or a specific revision. If this is the case, you can specify that with your pod declaration.
当我们需要使用库的混合边缘版本,或者指定的修订版本,我们可以通过指定像下面这样的声明。
Unlike atom-thick slices, where the electrons travel around the edge, in this case layers of electrons should circle a non-conducting interior like a ribbon encircling a birthday present.
与电子只在边缘移动的一个原子厚度的薄片不同,上诉情况下一层层的电子绕着不导电的内部区域流动,就像缎带绕着生日礼物一般。
Unlike atom-thick slices, where the electrons travel around the edge, in this case layers of electrons should circle a non-conducting interior like a ribbon encircling a birthday present.
与电子只在边缘移动的一个原子厚度的薄片不同,上诉情况下一层层的电子绕着不导电的内部区域流动,就像缎带绕着生日礼物一般。
应用推荐