Skip to content

Commit

Permalink
Add new fields to interfacer_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
imreddyTeja committed Feb 26, 2025
1 parent 67dad86 commit 0a3055e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/interfacer_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,18 @@ end

# Test that get_field gives correct warnings for unextended fields
for value in (
:cos_zenith_angle,
:co2,
:diffuse_fraction,
:energy,
:height_int,
:height_sfc,
:liquid_precipitation,
:LW_d,
:radiative_energy_flux_sfc,
:radiative_energy_flux_toa,
:snow_precipitation,
:SW_d,
:turbulent_energy_flux,
:turbulent_moisture_flux,
:thermo_state_int,
Expand Down Expand Up @@ -212,7 +217,7 @@ end
sim = DummySimulation4(space)

# Test that update_field! gives correct warnings for unextended fields
for value in (:surface_direct_albedo, :surface_diffuse_albedo, :surface_temperature, :turbulent_fluxes)
for value in (:emissivity, :surface_direct_albedo, :surface_diffuse_albedo, :surface_temperature, :turbulent_fluxes)
val = Val(value)
@test_logs (
:warn,
Expand Down

0 comments on commit 0a3055e

Please sign in to comment.