Complete the test plan for the Python code shown in the code block below, which is designed to validate a target humidity percentage set-point for an automated greenhouse control system.
valid_humidity = False
while not valid_humidity:
humidity = int(input("Enter target humidity [45 to 65]: "))
if humidity >= 45 and humidity <= 65:
valid_humidity = True
else:
print("Alert: Humidity out of range")
print("Target humidity updated successfully")
| Test type | Test data | Expected result |
|---|---|---|
| Normal data | 55 | "Target humidity updated successfully" displayed |
| Invalid data | [1] | [2] |
| Boundary data | [3] | [4] |