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

Test C++ funs f1 and f2 in Rcpp implementation #34

Closed pratikunterwegs closed 2 years ago

pratikunterwegs commented 2 years ago

Add unit tests for the functions f1 and f2 which are copied from final_size.R