@@ -133,7 +133,7 @@ def SubmergeParticle(particle, fieldset, time): # pragma: no cover
133133@pytest .mark .parametrize ("u" , [- 0.3 , np .array (0.2 )])
134134@pytest .mark .parametrize ("v" , [0.2 , np .array (1 )])
135135@pytest .mark .parametrize ("w" , [None , - 0.2 , np .array (0.7 )])
136- def test_length1dimensions (u , v , w ):
136+ def test_length1dimensions (u , v , w ): # TODO: Refactor this test to be more readable (and isolate test setup)
137137 (lon , xdim ) = (np .linspace (- 10 , 10 , 21 ), 21 ) if isinstance (u , np .ndarray ) else (np .array ([0 ]), 1 )
138138 (lat , ydim ) = (np .linspace (- 15 , 15 , 31 ), 31 ) if isinstance (v , np .ndarray ) else (np .array ([- 4 ]), 1 )
139139 (depth , zdim ) = (
@@ -198,7 +198,7 @@ def test_length1dimensions(u, v, w):
198198 ("RK45" , 1e-5 ),
199199 ],
200200)
201- def test_moving_eddy (method , rtol ):
201+ def test_moving_eddy (method , rtol ): # TODO: Refactor this test to be more readable
202202 f , u_0 , u_g = 1.0e-4 , 0.3 , 0.04 # Some constants
203203 start_lon , start_lat = 12000 , 12500
204204
0 commit comments