Just like line coverage, if there are two branches in a particular method and both were covered through tests, then you could say the method has 100% branch coverage.
与行覆盖一样,如果在特定方法中有两个分支,并且两个分支在测试中都被覆盖,那么您可以说这个方法有100%的分支覆盖率。
The method in class Branch will not compile because this.left and this.right are not guaranteed to have value fields.
类Branch中的方法将不编译,因为 this.left和 this.right 不保证具有value字段。
Once every method has at least one test, use a code coverage tool, such as Cobertura, to write one test for every branch until each line of code is tested.
当每个方法都有了至少一个测试,使用一个代码覆盖率工具如cobertura为每个分支编写一个测试,直到每一行代码都能够被测试。
The branch boundary begins in line 220 with the start method.
分支边界在第 220行中以start方法开始。
Branch and Bound algorithm is a general method for solving Combinatorial Optimization Problems. Parallelization is an effective means to improve the algorithm performance.
分枝限界算法是一种求解组合优化问题的一般性方法,并行化是提高算法性能的有效手段。
We also have analyzed the advantages, disadvantages, chances, and challenges to Shijiazhuang Pharmaceutical Group Company Co. Ltd. Preparation Branch by SWOT analysis method.
利用SWOT分析方法,详尽分析了石药集团制剂分公司的优势、劣势、机会和威胁。
Jurisprudence is an academic branch by means of using the philosophical method to study the basic problems of law, and it's a subject that is to research the ordinary problems of law.
法理学是一个运用哲学方法研究法律基本问题的学术门类,与法律哲学或法哲学含义相同,都是探讨法律的一般性问题的学科。
The relaxation iterative method for solving branch river networks is extended, which can turn the problem of any complex river networks into the problem of a series of single rivers.
将支流流量的松弛迭代方法从树状河系推广到了环状河网,使任意复杂河网水力计算的问题都可化为一系列的单一河道的水力计算问题;
Optimal flow pattern and branch changing cannot assure the global optimization result, but it can get the result in short time if it combines with the elicitation method.
最优流模式和基于支路的交换方法不能保证得到全局最优解,但与启发式规则结合后,可以在较短的时间得到结果。
Method: By ligating the different branch of coronary artery of rabbits, we made the AMI model.
方法:结扎家兔冠状动脉的不同分支制造急性心肌梗死模型。
Inverse engineering or inverse design is a synthetical branch in modern design theory and method.
反求工程或反设计是现代设计理论和方法中的一个综合分支。
Business English is a branch of English for specific purpose, is different from general English on teaching method.
商务英语是专门用途英语的一个分支,在教学方法上与通用英语有不同之处。
An important branch of compression method is to encode test data and that is used widely.
编码压缩技术作为测试数据压缩方法的一个重要分支,已被广泛采用。
Numerical experiments showed that the branch and bound method with these techniques was effective.
实验表明,基于这些结果所构造的分支定界算法是有效的。
A quite equivalent decoupling method based on branch node for fault location in distribution network is presented.
提出了一种按分支节点完全等效解耦的配电网故障定位新方法。
Numerical and experimental results of the new type of annular branch hybrid demonstrated the accuracy and efficiency of the proposed method.
通过新型环形分支电桥的数值结果与实测结果验证了本文方法的准确性和有效性。
The model is based on "Branch Bound" method which is used to solving the problem of integer linear programming, and it has the characters of parallel computing, goal driving and less time complicacy.
该模型基于求解整数线性规划问题的分枝定界方法,具有求解并行、目标驱动、时间复杂性低等特点。
The basic idea of the mining algorithm is to generate concurrent branch pattern from rough concurrent branch pattern. Bottom-up method is adopted in the process of pattern generating.
该算法的基本思想是在粗并发分支模式的基础上生成并发分支模式,在并发分支模式生成过程中采用自底向上的方法。
In the branch and bound method for solving non-convex programming, the choice of region subdivision directly affects the convergence of the whole algorithm.
在求解非凸规划的分枝定界法中,剖分区间的选取直接影响到整个算法的收敛速度。
To develop a branch and bound method for this problem, a nonlinear integer-programming model was constructed.
为设计求解该问题的分支定界算法,建立了非线性整数规划模型。
When the integral program problem is multi dimensional, branch boundary method and cutting plane approach are applicable for solving the problem.
整数规划问题为多维时,理论上可以用分枝定界方法与割平面方法求解。
The significant failure models are identified by using the modified branch and bound method.
用改进的分枝限界法判认主要失效模式。
Users can choose nonlinear programming method or branch and bound algorithm to satisfy their different requirements of precision and speed.
用户可以选择使用非线性规划的方法或者几种分枝定界方法来满足他们对于精度和速度方面的不同需求。
In this paper, the problem for contract processing sequencing with penalty factor is studied and a branch and bound method for this problem is proposed.
本文研究了具有惩罚因子的合同加工排序问题,提出了相应的分枝定界算法。
The current method to branch wire from the cable trunk is to cut off the trunk line, and crimp two ends of trunk line and the required branch, and pack them, or to bind the branch line to trunk line.
现行的从电缆主干线上取得分支线的方法就是切断主干线,将干线两头和所分的支线一同压接后包裹起来,或是将分支线绑轧在主干线上。
A branch-congruency power method is presented, based on improved Newton-Raphson power flow algorithm.
在牛顿·拉夫逊法的基础上提出了一种支路重载型潮流算法。
In this paper, based on network branch equation, a canonical method for calculating faults in a distribution network is systematically studied.
文章以网络支路阻抗方程作为电网数学模型,系统地研究了配电网故障计算的通用方法。
On the basis of researching network partitioning method based on branch cutting, a new algorithm which implements network partitioning by means of cutting branches is proposed.
在研究基于支路切割的网络分块方法的基础上,提出了一种通过切割支路实现网络分块的新算法。
An effective method for analyzing the nodal voltage sensitivity and branch voltage sensitivity for linear circuits is discussed using nodal admittance method.
从电路分析的节点法出发,提出了用于求解线性电网络节点电压灵敏度与支路电压灵敏度的一种有效方法。
An effective method for analyzing the nodal voltage sensitivity and branch voltage sensitivity for linear circuits is discussed using nodal admittance method.
从电路分析的节点法出发,提出了用于求解线性电网络节点电压灵敏度与支路电压灵敏度的一种有效方法。
应用推荐