Question 12
Consider the following code snippet.
def foo(x,y): if x < 0: y += 1 if y > 0: x -= 1 return x + yTest:
foo(-1, 1)foo(1, -1)Which of the following is correct regarding the coverage of the test?
100% statement coverage
100% function coverage
100% branch coverage
100% condition coverage