如果你觉得一段代码难于理解,那么就写一个单元测试。
If you think a piece of code is confusing, write unit tests for it.
注意:突出显示的代码段是创建、测试和操作会话部分。
Note the highlighted segments that create, test, and manipulate the session.
这里有一小段列表,我放在这里做为测试用。
单元测试的目的是测试一段代码的运行结果是否正确。
另一个选项,类似于过滤,是缩小这个测试的时间段。
Another option, similar to filtering, is to narrow the time range of the test.
编写单元测试通常是为了测试一段源代码。
A unit test is usually written to test a piece of source code.
您认为必须执行测试的一段时间
The period of time that you believe you have to execute your tests
这些工具中有一些已经正式发布有一段时间了,有些还处于beta测试版。
Some of these tools have been around for a while, and some are in beta.
但你实施计划一段时间,你应找个时间做个测试。
When you have carry out your study plan for a period of time, you need to find time to take a test.
第一阶段:编制测试工具。
这种试剂是现在正处于第一阶段的测试目前只在美国。
Such reagent is now at the stage of being tested in America.
功能节段生物力学性能测试。
The regular biomechanical test made on the function of spinal unit.
本文将重点介绍预应力钢结构五阶段设计、施工、测试及分析。
This paper introduces mainly the five stage design, construction, measurement and analysis of the structure.
每隔一段时间,测试一下某客户端是否断线。
Check the client whether it is still alive every a few seconds.
这是将单元测试设置为使用数据源的第一阶段。
This is the first phase of setting up a unit test to use a data source.
所有年龄段的儿童将要测试他们和他们的看法。
Children of all ages will want to test them out and share them.
我听说它已经被测试了有一段时间了。
我们知道我们应该在接下来的十二个月的时间段内继续作这些测试。
We understand that we are to continue these tests over a period of 12 months.
在第一阶段测试。
在第一阶段测试。
应用推荐