Question IT-STS-0057
HardCode: if (a > 0) { x = 1; } y = 2; One test runs with a = 5. What coverage does it achieve?
- A.
100% statement and 100% branch
- B.
50% statement and 50% branch
- C.
Sign up free to see the answer and a step-by-step explanation.