Skip to content

Commit

Permalink
update raise by for datum ref tests (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
panosatha authored Apr 29, 2024
1 parent c6d3b50 commit 3cef195
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/test_integrator/test_fiat_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,17 @@ def test_fiat_raise_datum(test_db, test_tomls, exposure_template):
)
)

assert all(
height + elev
>= test_scenario.direct_impacts.impact_strategy.measures[
0
].attrs.elevation.value
for height, elev in zip(
exposure_scenario.loc[inds2, "Ground Floor Height"],
exposure_scenario.loc[inds2, "Ground Elevation"],
)
)


def test_fiat_return_periods(test_tomls):
test_toml = test_tomls["current_test_set_no_measures.toml"]
Expand Down

0 comments on commit 3cef195

Please sign in to comment.