Comment by yencabulator
1 day ago
Just because it worked once with one set of inputs means nothing about it working in the general case.
def is_even(n):
return n == 2 # passes many unit tests!
1 day ago
Just because it worked once with one set of inputs means nothing about it working in the general case.
def is_even(n):
return n == 2 # passes many unit tests!
> Just because it worked once with one set of inputs means nothing about it working in the general case.
A C example of same could look like: