Thousands in Norway told they had won life-changing sums in lottery error
43 points by zqna
by mailund
4 subcomments
> “The amount has been multiplied by 100, instead of being divided by 100.”
I'm very interested to know if there is any coverage of automated tests at all for this system? This seems like the kind of mistake that would be picked up immediately with a bare minimum test suite.
by Neywiny
1 subcomments
I just want to make sure I'm understanding, this means when they say somebody expected to get x euros, really they won (x/100)/100 euros? Once to get it back to what it was before math, a second time to do the math correctly?