Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def test_factory_mask_bdy_prog_halo_c(
)
field_1 = factory.get(attrs.MASK_PROG_HALO_C)
field_2 = factory.get(attrs.BDY_HALO_C)
assert test_helpers.dallclose(field_ref_1.asnumpy(), field_1.asnumpy())
assert (field_ref_1.asnumpy() == field_1.asnumpy()).all()
assert test_helpers.dallclose(field_ref_2.asnumpy(), field_2.asnumpy())


Expand Down Expand Up @@ -641,7 +641,7 @@ def test_factory_compute_diffusion_mask_and_coef(
field_1 = factory.get(attrs.MASK_HDIFF)
field_2 = factory.get(attrs.ZD_DIFFCOEF_DSL)

assert test_helpers.dallclose(field_ref_1.asnumpy(), field_1.asnumpy())
assert (field_ref_1.asnumpy() == field_1.asnumpy()).all()
assert test_helpers.dallclose(field_ref_2.asnumpy(), field_2.asnumpy(), atol=1.0e-10)


Expand Down
Loading