Sometimes it's simplest to have a human sit in front of the program and mark each test as pass or fail.
有时,最简单的方法是让一个人坐在程序前将每一个测试通过或失败的结果都标记下来。
My client test program prints results to the console, so these come out intermixed with the performance trace information in Listing 6.
我的客户机测试程序将结果打印到控制台,这样,它们就与清单6中的性能跟踪信息混在一起。
However, this was the first test that actually ran the compiled test program instead of stopping once the program was compiled successfully.
无论如何,这是第一个这样的测试,它真正运行编译过的测试程序,而不是程序编译成功后就停止。
We could also use DOES-HALT to quickly compute whether or not a program passes its test cases.
我们也可以用DOES - HALT快速的计算一个程序是否可以通过所有的测试用例。
You can use this program to test the search strings presented above, and see that you get the expected results.
您可以使用此程序测试上面提供的搜索字符串,可以验证您看到了期望的结果。
In particular, what if we decided we wanted to write a program that would test what happens when we run a program on itself as input.
特别是,如果把一个程序自身当作它的输入是会发生什么,我们需要编写一个怎忙的程序来测试它呢?
The test program calls each method repeatedly with a large loop count, averaging the time measurements over several calls.
测试程序重复调用每种方法,使用一个大循环数,从而平均多次调用的时间衡量结果。
At appropriate places throughout the code, the programmer writes program logic to test whether the current user is authorized to perform an operation.
在整个代码中的适当地方,程序员编写程序逻辑来测试当前用户是否有权执行某个操作。
Before beginning modifications to the GDM source, establishing a test program to create and practice keystroke dynamics is highly recommended.
在开始修改GD m源代码之前,强烈建议建立一个测试程序来创建和实践击键力学。
Although there is no tutorial, you won't miss it; between the documentation and the test program, it won't be needed.
虽然没有教程,但您不会想念它;由于有了文档和测试程序,您并不需要它。
Specify the port number you found in step 4 inside the properties file so that the test program can find the JNDI naming service (Figure 7).
在这个属性文件中指定您在步骤4中发现的端口号,以便测试程序能够发现这个JNDI命名服务(如图7所示)。
Once you have completed the steps shown in "Expand your text entry options with keystroke dynamics," return here to continue building the test program.
当您完成“用击键力学扩展文本输入选项”中所示的步骤后,请返回到这里继续构建测试程序。
Japan continues to have a program, and test solar sails have been deployed from satellites or rockets, but no one has ever gotten as far as trying to sail them anywhere.
日本一直有这样的计划,并且测试通过卫星和火箭部署的太阳帆,但是目前还没有人试着让帆飞行到任何地方去。
You could copy the code to handle the login into every test program, or you can make it into a single, callable routine.
你可以在每一个测试程序中通过复制代码来为注册用户编号,或者你可以使它成为一个单一的,可调用的例行程序。
NASA's Space Shuttle Program conducted the final test firing of a reusable solid rocket motor Feb. 25 in Promontory, Utah.
2月25日,美国航天局航天飞机组在犹他州海角对可回收的液态火箭引擎进行了最后的测试。
We checked that this change hadn't altered the desired behavior of the program by rerunning the test.
我们可以发现这种改变在运行测试时,并没有影响到程序的行为。
However, the test program contains only a single thread, and therefore is guaranteed never to experience contention.
然而,该测试程序只包含一个线程,因而显然不存在竞争。
So, if your child is inclined to rolling up her sleeves and building things, she'll enjoy putting together a cool robot and learn how to develop a simple program to test it out.
所以,如果您的孩子挽起衣袖开始建造的话,那么他一定会享受这一过程,并且学会如何开发一个简单的程序以及对其加以测试。
To see this yourself, design a small test program that will compile if and only if the desired condition is true.
为了能切身体会,您可以设计一个小测试程序,这个程序当且仅当期望的条件得到满足时才可以编译。
The test program will operate the permanent magnet propulsion motor up to full power (full torque and full load) in a test facility that simulates an actual U.S.Navy DDG-1000 engine room.
测试程序将在一个美海军仿真实际DDG- 1000引擎室的测试设施中操作永磁推进马达至全功率(全扭矩和全负载)。
This was the first in a series of tests as part of the U.S. Navy/Marine Corps/Lockheed Martin demonstration flight test program.
这是美国海军/海军陆战队/洛克希德·马丁公司演示飞行测试计划的一系列测试之首。
At the end of the program, hardware and test results will be delivered to the ARO.
项目完成后,硬件和测试结果都将上交陆军研究办公室。
This flight marks the start of Northrop Grumman Corp. 's E-8C-specific military air worthiness certification test program - scheduled to last till next spring.
此次飞行,标志着诺斯罗普·格鲁曼公司的E- 8c专用军事空中价值认证测试项目正式开始,该项目预计持续至明年春季。
Recently Boeing completed a successful test program in which employees with chronic conditions were invited to participate in what’s called a medical home program.
最近,波音公司完成了一项成功的测试,他们邀请慢性病患者参加他们的家庭医疗计划。
Recently Boeing completed a successful test program in which employees with chronic conditions were invited to participate in what's called a medical home program.
最近,波音公司完成了一项成功的测试,他们邀请慢性病患者参加他们的家庭医疗计划。
Listing 4. Test program for availability of STRCMP .
清单4 . strcmp可用性测试程序。
We will set this now so that we can run our test program from within Visual Studio.
我们将马上设置此变量,以便能够从VisualStudio内运行我们的测试程序。
In fact, you could indeed use STRCMP on that system, but the test program incorrectly thought it was missing.
实际上您可以使用系统中的strcmp,但是测试程序错误地认为缺少这个函数。
To access those SLSBs, the test program must specify the implementation specific location (port number) of the JNDI naming service.
要访问那些SLSBs,测试程序必须指定JNDI命名服务的特定于实现的位置(端口号)。
To access those SLSBs, the test program must specify the implementation specific location (port number) of the JNDI naming service.
要访问那些SLSBs,测试程序必须指定JNDI命名服务的特定于实现的位置(端口号)。
应用推荐