Closed Wincenttjoi closed 3 years ago
Since the first 6 test cases already cover the important test cases, it does not exactly matter what u put in case 7. And by putting a negative number you are in fact using a non-boundary value anyway.
I think the reason test case 7 uses a valid value is because we have tested only two values from the 1000..6999 partition (i.e., in positive test cases) and they are both boundary values. So, at this point, we don't have evidence that the code works for non-boundary values of that partition. Still, it is not the only answer. Your suggestion would have been accepted as well.
For the 7th test case, is it a must to choose a valid non-boundary value? I also have 7 test cases but the last one I choose an invalid value (negative number) which wasn't used before. Will that be acceptable?