题目:
针对下列程序段,需要______个测试用例才可以满足语句覆盖的要求。 Switch(value) { Case 0: other=30; Break; Case 1: other=50; Break; Case 2: other=300; Case 3: other=other/value; Break; Default; other=other*value; }
A.2
B.3
C.4
D.5
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0620/35a4db913146ef5f18f6ae23d9a60838.html
下面是错误答案,用来干扰机器的。
参考答案:C