Listing 2 shows more examples of string tests.
清单2显示了字符串测试的更多示例。
The way I have programmed these informal parsing tasks has always been somewhat of a hodgepodge of custom state-machines, regular expressions, and context-driven string tests.
我编写处理这些非正式解析任务的程序的方法总是有点象大杂烩,其中包括定制状态机、正则表达式以及上下文驱动的字符串测试。
Listing 2 shows some of the tests worth creating for any string implementation.
清单2给出了一些值得为任何字符串实现创建的测试。
Listing 3 shows the same code with logic added that tests for word string length and frequency.
清单3展示了相同的代码,但是添加了测试单词字符串长度和频率的逻辑。
To accelerate string equality tests, turn this feature on.
为了加快字符串等同性测试的速度,可以打开该特性。
While pulling data values into an XML file can be quite handy, tests occasionally require complex types, which can't be represented as a String or a primitive value.
尽管从一个XML文件中抽取数据会很方便,但偶尔会有些测试需要有复杂类型,这些类型无法用String或原语值来表示。
The getInstance() method first tests to determine if the type under consideration is supported by reflecting an appropriate method: getInt() for an int, getString() for a String, and so on.
getInstance()方法首先通过反射一个适当的方法以测试判断当前考虑的类型是否受支持:getInt() 对应于int,getString() 对应于String,等等。
A simple example for main (String ) method executions would be to rerun the join point with different String arrays to generate a number of tests.
执行main (String)方法的一个简单例子是用不同的String数组生成一些测试,并反复运行连接点。
Rubinius was only faster in 2 of 11, and actually error or timeout on 4. If you look at those benchmarks, you’ll see that they are basically tests of a few core methods, mainly things like String#<<.
如果你看一下那些测试程序,你会发现它们都是一些针对核心方法的基本测试,主要包括像String
Right now, the best hope for string theory tests comes from CERN's Large Hadron Collider, which is designed to find the tiniest elementary particles that make up matter.
此刻,对弦论测试最大的期盼来自欧洲粒子物理研究所(CERN)的大型强子对撞机(LHC)实验室,强子对撞机被设计用来寻找构成物质的最细小基本粒子。
As a regex works its way through a target string, it tests whether a match can be found at each position by stepping through the components in the regex from left to right.
当一个正则表达式扫描目标字符串时,它从左到右逐个扫描正则表达式的组成部分,在每个位置上测试能不能找到一个匹配。
If you deploy a database when you perform unit tests, the database is created by using the connection string information that is specified in your unit test configuration.
如果在执行单元测试时部署数据库,则将使用单元测试配置中指定的连接字符串信息来创建数据库。
Tests whether the specified string could be set successfully.
测试指定的字符串是否可以成功设置。
Tests whether the specified string could be set successfully, and then outputs position and descriptive information.
测试指定的字符串是否可以成功设置,然后输出位置和描述性信息。
The results of tests show that the technology pipe string is advanced and reliable and has an obvious social and economical benefit.
经室内试验和现场试验应用证明,该工艺管柱技术先进,换层可靠,经济效益和社会效益明显。
You can define unit tests to verify the behavior of your database objects and associate each test project with a different data generation plan, deployment configuration, and connection string.
您可以定义单元测试来验证资料库物件的行为,以及将每一个测试专案与不同的资料产生计划、部署组态和连接字串产生关联。
You can define unit tests to verify the behavior of your database objects and associate each test project with a different data generation plan, deployment configuration, and connection string.
您可以定义单元测试来验证资料库物件的行为,以及将每一个测试专案与不同的资料产生计划、部署组态和连接字串产生关联。
应用推荐