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.
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.
ββββ
ββββ