number of test cases
How to find the number of test cases for the program statement
x = y + z. Do we have to evaluate the test cases for each X,Y,Z or we have to check if data types of X,Y,Z and their resultant data type precision and all ?
Re: number of test cases
willy, I commend you for thinking beyond the pure arithmetic. This is the kind of situation where I would turn the question back to the interviewer with something like "are you looking for test cases that simply address the math? Or ones that also consider the possible data types, precision, etc of the variables?