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.

Yeah, you definitely run fixed tests on the whole thing. But when it returns indecipherable garbage, you’ve got to dive in in more detail, and at that point you’re just doing breakpoints and watchpoints and looking at walls of floating point values.

I suppose Strassen’s is recursive, so you could tackle it that way, but for other numerical-type things there is no such option.

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 58 users / day
  • 220 users / week
  • 691 users / month
  • 2.67K users / 6 months
  • 1 subscriber
  • 1.57K Posts
  • 34.9K Comments
  • Modlog