Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kmdeck committed Sep 16, 2024
1 parent 893d66a commit 32191ea
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/standalone/Snow/snow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ import ClimaLand.Parameters as LP
exp_tendency!(dY, Y, p, t0)
@test dY.snow.S == @.(-Y.snow.S / Δt)
@test all(
ClimaLand.Snow.clip_dSdt.([0.1, 1.0, 2.0], [-1.0, -1.0, -1.0], 1.0) .==
[-0.1, -1.0, -1.0],
ClimaLand.Snow.clip_total_snow_water_flux.(
[0.1, 1.0, 2.0],
[1.0, 1.0, 1.0],
1.0,
) .== [0.1, 1.0, 1.0],
)
end

0 comments on commit 32191ea

Please sign in to comment.