Yes, but is it the intended and/or desired behaviour in all cases that the codepath in question will be expected to experience?
That is the problem, especially in code that deals with rare edge cases so is not run often, and/or covers many circumstances where it is right but is wrong for one set of inputs that no one thought to test before (or since that code last changes).
Yes, but is it the intended and/or desired behaviour in all cases that the codepath in question will be expected to experience?
That is the problem, especially in code that deals with rare edge cases so is not run often, and/or covers many circumstances where it is right but is wrong for one set of inputs that no one thought to test before (or since that code last changes).