问题
问答题
设被测试的程序段为:begin s1; if(x=1)and(y>3) then s2; if(x<2)or(y=2) then s3; s4;end可供选择的测试用例为:
请分别找出实现语句覆盖、条件覆盖、分支覆盖最少所需的测试用例及其对应的编号。
答案
参考答案:
设被测试的程序段为:begin s1; if(x=1)and(y>3) then s2; if(x<2)or(y=2) then s3; s4;end可供选择的测试用例为:
请分别找出实现语句覆盖、条件覆盖、分支覆盖最少所需的测试用例及其对应的编号。
参考答案: