epiverse-trace / finalsize

R package to calculate the final size of an SIR epidemic in populations with heterogeneity in social contacts and disease susceptibility
https://epiverse-trace.github.io/finalsize/
Other
11 stars 7 forks source link

Refactor tests #99

Closed Bisaloo closed 1 year ago

Bisaloo commented 2 years ago

While working on #94, I noticed a lot of redundancy in the tests. Each time the code changes somewhere, you have to update tests in many locations that check essentially the same thing.

I understand this comes from the sinuous development process this package went through but it would probably be valuable at some point to refactor & simplify the test structure to facilitate future update.

pratikunterwegs commented 2 years ago

Agreed, can do some test rationalisation over the next few days.