Skip to content

Commit 3006376

Browse files
committed
Add test docstring
1 parent 1c4a5dc commit 3006376

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/test_particlesets.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,12 @@ def AddLat(particle, fieldset, time): # pragma: no cover
375375

376376
@pytest.mark.parametrize("staggered_grid", ["Agrid", "Cgrid"])
377377
def test_from_field_exact_val(staggered_grid):
378+
"""
379+
Tests the creation of a ParticleSet from a field with exact values
380+
on both A-grid and C-grid staggered grids. Verifies that particles
381+
are initialized correctly within the masked region and that their
382+
properties match the expected field values.
383+
"""
378384
xdim = 4
379385
ydim = 3
380386

0 commit comments

Comments
 (0)