现有程序段如下:
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;
}
请问需要( )个测试用例才可以满足语句覆盖的要求。
这意味着,在这段代码中,当value为2时,case3会同时执行,而不是跳转到default。