Hacker News new | ask | show | jobs
by nmfisher 2176 days ago
Ah, right. I didn't realize some people believe tests should "prove" the correctness of a function (or that if they can't, they're worthless).

Testing has its flaws, but that's not one of them. There's often very good reason to ask the question "does this function operate the way I expect it to when I provide this input?"