首页 > 试题广场 >

对于下面这段伪码,设计该段程序能达到100%分支覆盖率的最少

[单选题]

对于下面这段伪码,设计该段程序能达到100%分支覆盖率的最少用例数量为()

begin:

    while(condition1)

        statement1;

        if(condition2) then

            statement2;

        end if;

    end while;

end

  • 1
  • 2
  • 3
  • 4
非condition1
conditon1但非condition2
condition1且conditon2
发表于 2021-04-28 22:00:17 回复(0)