单项选择题

针对下列程序段,需要______个测试用例才可以满足语句覆盖的要求。
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
题目列表

你可能感兴趣的试题

微信扫码免费搜题