evaluate() 方法拥有两个参数:一个字符串 XPath,一个 DOM 树(用来针对其计算该 XPath),还有一个 XPath 常量表示返回类型。
The evaluate() method takes two arguments: a string XPath, a DOM tree to evaluate that XPath against, and an XPath constant indicating the return type.
对于每个虚方法,计算它的参数个数、名字和结果n,然后使用MOCK_METHODn进行定义,其参数就是方法的名字和类型。
For each virtual method, count how many arguments it has, name the result n, and define it using MOCK_METHODn, whose arguments are the name and type of the method.
同时给出了其牵引绕组电压、电流等系统主要参数的计算。
The system interface parameters calculation, such as input voltage and cur-rent for traction windings is also presented.
应用推荐