Question: In Python Suppose you are writing a number guessing game and your code includes the function below. You must write test cases which cover all

In Python
Suppose you are writing a number guessing game and your code includes the function below. You must write test cases which cover all the possible branches of the code. (You do not need to include the expected output in this question) def process_num_high_low(num, guess): if isinstance(num, int) and isinstance(guess, int): if num guess: if numguess: return "Number can't be negative" return "Too high" return "Too 0w" return "Correct number!" else: return "Guess and Number need to be integers" Give your test cases as calls to the function, separated by newlines. E.g. process.num.high lowC-, process_num_high_low(-, _) Important: The code you write must not print any output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
