Skip to content

Commit

Permalink
Increase Manning test tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
visr committed Sep 23, 2024
1 parent 1249784 commit 7bf92a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/test/run_models_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ end
# numerical choices to make in terms of what the representative friction
# slope is. See e.g.:
# https://www.hec.usace.army.mil/confluence/rasdocs/ras1dtechref/latest/theoretical-basis-for-one-dimensional-and-two-dimensional-hydrodynamic-calculations/1d-steady-flow-water-surface-profiles/friction-loss-evaluation
@test all(isapprox.(h_expected, h_actual; atol = 0.02))
@test all(isapprox.(h_expected, h_actual; atol = 0.04))
# Test for conservation of mass, flow at the beginning == flow at the end
@test Ribasim.get_flow(du, p, t, (NodeID(:FlowBoundary, 1, p), NodeID(:Basin, 2, p)))
5.0 atol = 0.001 skip = Sys.isapple()
Expand All @@ -515,7 +515,7 @@ end
p,
t,
(NodeID(:ManningResistance, 101, p), NodeID(:Basin, 102, p)),
) 5.0 atol = 0.001 skip = Sys.isapple()
) 5.0 atol = 0.002 skip = Sys.isapple()
end

@testitem "mean_flow" begin
Expand Down

0 comments on commit 7bf92a5

Please sign in to comment.