add test for PeriodicHEPA
This commit is contained in:
parent
f4dc698d1c
commit
5ee96a1ddf
1 changed files with 6 additions and 0 deletions
|
|
@ -96,3 +96,9 @@ def test_periodic_window(periodic_opening_model):
|
|||
ts = [t for t in range(11)]
|
||||
aes = [periodic_opening_model.ventilation.air_exchange(periodic_opening_model.room, t) for t in ts]
|
||||
assert all(ae == (0 if t * 60 % 120 < 105 else 514.74) for ae, t in zip(aes, ts))
|
||||
|
||||
|
||||
def test_periodic_hepa(periodic_hepa_model):
|
||||
ts = [t for t in range(11)]
|
||||
aes = [periodic_hepa_model.ventilation.air_exchange(periodic_hepa_model.room, t) for t in ts]
|
||||
assert all(ae == (0 if t * 60 % 120 < 105 else 514.74) for ae, t in zip(aes, ts))
|
||||
|
|
|
|||
Loading…
Reference in a new issue