feinmann / sober

Display days since getting away from something
Other
2 stars 0 forks source link

[Test request] Calculations correct? #5

Open feinmann opened 4 years ago

feinmann commented 4 years ago

How could tests be implemented, that check that the calculations are correct.

At the moment we claim to calculate all doubles, all triples and all quartruples between clean_date and today. Is this correct? How can this be tested?

h3llmann commented 4 years ago

Print interim result in logfile and have a Look on test Dates: on 9.4.20 I am sober for 2 years 2 days - that’s why I found a bug in my app...