这是十分重要的,因为该类必须简短地返回另一个字符串才能使测试通过。
This is important because the class must shortly return another string for your test to pass.
在最初的测试客户机中,我们向队列发送一个普通字符串。
In the original test client, we sent a plain string to the queue.
输入要发送的测试消息字符串。
这个宏需要一个字符串作为测试套件的名称。
The macro expects a string that is the name of the test suite.
通过记录带有一个可变数据的项目和一个搜索字符串的简单测试开始。
Start by recording a simple test with one variable data item, a search string.
清单10为字符串类定义一个测试套件。
Look at Listing 10, which defines a test suite for your string class.
字符串应该描述测试需求。
The string should describe the requirement you're working to test.
要测试应用程序,可以放入任何字符串作为工作密钥,并单击Submit。
To test the application, put in any string as a work key and click Submit.
在测试字段中输入相应的字符串,然后单击Submit。
通过这种方法,确保把布尔字符串false返回给测试。
In this way, you ensure that the Boolean string false is returned to the test.
在这个例子中的每个正规表达式都是测试字符串的子串之一。
Each regular expression in this example is a substring of one of the test strings.
我们不必添加一个新行字符,如果这样做了,测试就会失败。
We have not added a newline character; if we did, the test would fail.
您需要创建一个新的字符开始测试。
尤其当你事先知道了字符串的哪一部分将要被测试时。
This is especially true if you know in advance which part of a string you want to test.
系统测试结果,牌照定位的准确率达96%以上,字符识别率达90%以上。
System test result: the veracity of plate location reaches above 96%, and character identification rate above 90%.
系统测试结果,牌照定位的准确率达96%以上,字符识别率达90%以上。
System test result: the veracity of plate location reaches above 96%, and character identification rate above 90%.
应用推荐