While reading I was thinking why aren’t stackoverflow “mandating” that solutions have tests, so that this problem isn’t left to everyone else, ref. to the comment at the end of the article:
Test all edge cases, especially for code copied from Stack Overflow.
Test all edge cases, especially for code copied from Stack Overflow.