Skip to content

Commit

Permalink
Add docstring to test
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaponte committed Nov 5, 2024
1 parent 3cf0df9 commit 96444fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions invisible_cities/cities/components_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,12 @@ def test_hits_corrector_valid_normalization_options( correction_map_filename
, norm_strat
, norm_value
, apply_temp ):
"""
Test that all valid normalization options work to some
extent. Here we just check that the values make some sense: not
nan and greater than 0. The more exhaustive tests are performed
directly on the core functions.
"""
n = 50
xs = np.random.uniform(-10, 10, n)
ys = np.random.uniform(-10, 10, n)
Expand Down

0 comments on commit 96444fc

Please sign in to comment.