使用可用的打印设备测试打印样式是个好主意。
Testing print styles using the print devices available to you is a good idea.
我的客户机测试程序将结果打印到控制台,这样,它们就与清单6中的性能跟踪信息混在一起。
My client test program prints results to the console, so these come out intermixed with the performance trace information in Listing 6.
底部的测试代码设置值并打印出新值。
The test code at the bottom then sets the value and prints out the new value.
Let's check it out. I've written a little bit of a test script here, so if we test cell sort, and I've written this so that it's going to print out what the list is at the end of each round, OK.
我们来检查检查,我写了一个小测试脚本,我写这个脚本来测试单元排序,它能够打印出每一轮结束后,链表的是什么样子的。
Remember last time, we wrote this simple piece of code to print out even or odd. If, you know, x, 1 it was in fact, even or odd. So let me show you what a flow chart for that would look like, because I want to make a comparison point here.
这就像这里有一些脚蹼一样,首先进行测试,然后把球这样放来让ANS加,然后回来继续测试,最终跳出循环然后打印答案。
应用推荐