Skip to content

Commit

Permalink
#181 test cases
Browse files Browse the repository at this point in the history
Added test cases to reproduce bugs #233 and #235
  • Loading branch information
peterdgr committed Dec 16, 2024
1 parent 5083940 commit 5710c6f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 15 deletions.
20 changes: 10 additions & 10 deletions tests/acceptance_scenarios/koswat_input_profile_base_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,16 @@ class AcceptanceTestInputProfileCases(CasesProtocol):

profile_dijk4 = KoswatInputProfileBase(
dike_section="dijk4",
waterside_ground_level=6.38,
waterside_slope=2.56,
waterside_berm_height=6.38,
waterside_berm_width=0,
crest_height=11.38,
crest_width=10.36,
polderside_slope=3.57,
polderside_berm_height=9.06,
polderside_berm_width=19.23,
polderside_ground_level=6.45,
waterside_ground_level=6.28,
waterside_slope=2.74,
waterside_berm_height=8.9,
waterside_berm_width=4.42,
crest_height=10.41,
crest_width=2.75,
polderside_slope=2.07,
polderside_berm_height=9.43,
polderside_berm_width=14.59,
polderside_ground_level=5.17,
ground_price_builtup=322.63,
ground_price_unbuilt=13.87,
factor_settlement=1.2,
Expand Down
15 changes: 10 additions & 5 deletions tests/acceptance_scenarios/koswat_scenario_test_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,15 +447,20 @@ class ScenarioCasesC(CasesProtocol):
class ScenarioCasesDijk4(CasesProtocol):
cases = [
KoswatScenario(
scenario_name="dijk4",
d_h=0.72,
d_s=10,
scenario_name="scen1",
d_h=0.29,
d_s=12.07,
d_p=50,
),
KoswatScenario(
scenario_name="scen2",
d_h=0.29,
d_s=12.07,
d_p=50,
waterside_slope=3.56,
waterside_slope=2.75,
),
]


class ScenarioCasesDijk5(CasesProtocol):
cases = [
KoswatScenario(
Expand Down

0 comments on commit 5710c6f

Please sign in to comment.