Skip to content

Commit

Permalink
Merge pull request #887 from CliMA/tr/make-snow-parameterization-test…
Browse files Browse the repository at this point in the history
…-stable

Add random seed to snow parameterization test
  • Loading branch information
Sbozzolo authored Oct 25, 2024
2 parents c655866 + c24a8da commit afecdc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ LazyArtifacts = "4af54fe1-eca0-43a8-85a7-787d91b784e3"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
NCDatasets = "85f8d34a-cbdd-5861-8df4-14fed0d494ab"
NLsolve = "2774e3e8-f4cf-5e23-947b-6d7e65073b56"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Expand Down
3 changes: 3 additions & 0 deletions test/standalone/Snow/parameterizations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import ClimaParams as CP
using ClimaLand.Snow
import ClimaLand
import ClimaLand.Parameters as LP
import Random

Random.seed!(1234)

for FT in (Float32, Float64)
@testset "Snow Parameterizations, FT = $FT" begin
Expand Down

0 comments on commit afecdc7

Please sign in to comment.