QuestionQ12
VerifiedTesting in AgileConsider this code fragment:
If (a>b) and (b>c) then -
b = (a+c)/2
endif
Assume that, in the options below, each parenthesized set of three numbers represents the inputs for a test case: the first number represents variable "a", the second represents variable "b", and the third represents variable "c".
Which of the following provides a set of test-case inputs that achieves 100% decision coverage for this code fragment using the minimum number of test cases?
Community Discussion