Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
katharinastarzer21 committed Nov 15, 2024
1 parent c377978 commit af4102b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_math.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,10 @@ def test_extrema():
result = extrema(dask_array, ignore_nodata=True, axis=0, keepdims=False)
assert np.array_equal(result_np, result.compute())


def test_cumproduct():
array_list = [1, 2, 3, np.nan, 4, 5]
result_np = [[1, 2, 6, np.nan, 24, 120]]

result = _cumproduct(array_list)
assert np.array_equal(result_np, result)
assert np.array_equal(result_np, result)

0 comments on commit af4102b

Please sign in to comment.