πŸ’¬ Reply by CanadaPlus

2024-11-20 πŸ”„ programmerhumor ┃ edited ┃ RE: leisesprecher

At a certain level of detail, tests just become a debugger, right?
I’m thinking of something like an implementation of Strassen’s algorithm. It’s all arithmetic; you can’t really check for macro correctness at a micro point without doing a similar kind of arithmetic yourself, which is basically just writing the same code again. It resembles nothing other than itself.

CanadaPlus

leisesprecher

πŸ”„ programmerhumor

πŸ’¬ Replies

2024-11-20 leisesprecher ┃ 1πŸ’¬

And who actually writes tests like that?
I mean, do you think tests do the calculations again? You simply have well defined input and known, static output. That’s it.

────

View parent post

View first post in thread

────

πŸ“‘ Local feed

πŸ•οΈ Communities

πŸ”₯ Hashtags

πŸ”Ž Search posts

πŸ”‘ Sign in

πŸ“Š Status

πŸ›Ÿ Help