added test for cloth mask and missing reference

This commit is contained in:
Luis Aleixo 2022-09-12 17:24:41 +02:00
parent 3ea0d83e21
commit fa3190f6fb
2 changed files with 3 additions and 0 deletions

View file

@ -167,6 +167,7 @@ virus_distributions = {
# https://doi.org/10.1080/02786826.2021.1890687
# https://doi.org/10.1016/j.jhin.2013.02.007
# https://doi.org/10.4209/aaqr.2020.08.0531
# https://doi.org/10.1080/02786826.2021.1890687
mask_distributions = {
'Type I': mc.Mask(η_inhale=Uniform(0.25, 0.80)),
'FFP2': mc.Mask(η_inhale=Uniform(0.83, 0.91)),

View file

@ -347,6 +347,8 @@ def test_report_models(mc_model, expected_pi, expected_new_cases,
["Type I", "Jul", 1.663, 0.938, 193.52],
["FFP2", "Jul", 0.523, 0.253, 193.52],
["Type I", "Feb", 0.659, 0.325, 193.52],
["Cloth", "Feb", 2.665, 1.757, 809.46],
["Cloth", "Jul", 5.322, 5.086, 798.47],
],
)
def test_small_shared_office_Geneva(mask_type, month, expected_pi,