QuestionQ65

VerifiedWhite-Box Test Techniques

Given this decision:

IF X<5 OR Y>10 THEN -

And these test inputs:

  • X=6 and Y=12 -
  • X=5 and Y=10 -

Which additional set of test inputs will ensure that full Multiple Condition coverage is achieved?

Explanation

Full Multiple Condition coverage requires all truth-value combinations of the two atomic conditions, X<5 and Y>10: true/true, true/false, false/true, and false/false. The existing inputs provide false/true and false/false. The additional values X=3, Y=10 provide true/false, while X=0, Y=15 provide true/true, so together they cover every combination.

Community Discussion

No comments yet. Be the first to start the discussion!