The tests of which you speak here really move into the realm of process data integrity, not the specific testing of any particular application.
That maybe for the specific example I gave*
, but remember, I only raised the issue after the following statement was made:
The benefit of test driven development is, you *know* your code will work before you ship it.
which IMO, is so far away from the truth, I wouldn't hire a programmer who thinks that way. I rather have a programmer who's unsure, than one who's convinced to be right, when he isn't.
*A programmer might also assume the area of a circle is 22/7 times the radius, and write his/her tests accordingly.