【单选题】● 给定C 语言程序: int foo( int x, int y, int d) { if( x != 0 ) { if ( y == 0 ) d = d / x else d = d / (x * y ) } else { if( y == 0 ) d = 0 else d = d / y } return d } 当用路径覆盖法进行测试时,至少需要设计 (31) 个测试用例。 (31)
【单选题】阅读下面程序 public class Test implements Runnable { private int x=0; private int y=0; boolean flag=true; public static void main(String[]args) { Test r=new Test(); Thread t1=new Thread(r); Thread t2=new Th...