Complete the following test plan for the code shown in Figure 3.
Figure 3
valid_row = False
while not valid_row:
row = int(input("Enter row number [12 to 25]: "))
if row >= 12 and row <= 25:
valid_row = True
else:
print("Error: Invalid row")
print("Row selected successfully")
| Test type | Test data | Expected result |
|---|---|---|
| Normal data | 15 | "Row selected successfully" displayed |
| Invalid data | [1] | [2] |
| Boundary data | [3] | [4] |