Skip to content

Commit

Permalink
add growing specific param
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobson committed Dec 11, 2024
1 parent edeccdb commit 0847376
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_land.py
Original file line number Diff line number Diff line change
Expand Up @@ -1484,6 +1484,7 @@ def test_apply_surface_overrides(tmp_path):
"surface": "Woodland",
"type_": "GrowingSurface",
"area": 1000,
"rooting_depth": 0.1,
}
},
"percolation_residence_time": 1,
Expand Down Expand Up @@ -1513,6 +1514,7 @@ def test_apply_surface_overrides(tmp_path):
assert model.nodes["land1"].get_surface("Grass").area == 200
assert model.nodes["land1"].get_surface("Grass").datum == 20
assert model.nodes["land1"].get_surface("Woodland").area == 1000
assert model.nodes["land1"].get_surface("Woodland").rooting_depth == 0.1


if __name__ == "__main__":
Expand Down

0 comments on commit 0847376

Please sign in to comment.