单选题

现有程序段如下: switch ( value ) { case 0: o...

发布于 2022-03-03 14:04:51

现有程序段如下:
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
}
请问需要(     )个测试用例才可以满足语句覆盖的要求。

登录后免费查看答案
关注者
0
被浏览
20
知识点
面圈网VIP题库

面圈网VIP题库全新上线,海量真题题库资源。 90大类考试,超10万份考试真题开放下载啦

去下载看看