Testing Fundamentals - Functional Testing Techniques
Consider this code snippet for testing input groups:
What will be the output?
inputs = [1, 5, 10, 15, 20]
covered_groups = set()
for i in inputs:
if i <= 5:
covered_groups.add('low')
elif i <= 15:
covered_groups.add('medium')
else:
covered_groups.add('high')
print(sorted(covered_groups))What will be the output?
