We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd470b5 commit 06ab098Copy full SHA for 06ab098
test/unit_conversions_test.jl
@@ -1,7 +1,7 @@
1
using Bigleaf, Test
2
3
@testset "Esat_from_Tair" begin
4
- Tair = 15
+ Tair = 15.0
5
Esat_formula=Sonntag1990()
6
constants=BigleafConstants()
7
eSat = Esat_from_Tair(Tair; Esat_formula, constants)
@@ -25,7 +25,7 @@ end
25
26
Esat = Esat_from_Tair.(Tair)
27
delta = Esat_from_Tair_deriv.(Tair)
28
- delta2 = diff(Esat)/step
+ delta2 = diff(Esat)/step
29
@test all(isapprox.(delta[2:end] - delta2, 0, atol=1e-3))
30
Esat3, delta3 = Esat_slope(Tair[1])
31
@test Esat3 ≈ Esat[1]
0 commit comments