Skip to content

Commit

Permalink
rename test function
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Parente <[email protected]>
  • Loading branch information
nparent1 committed Sep 6, 2024
2 parents 744699e + 55f5ce6 commit 628b7b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit_tests/toporder/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ def test_kernel_width_when_zero_median_pairwise_distances():
arr[1] = 1
assert kernel_width(arr) == 1


def test_kernel_width_when_all_zero_pairwise_distances():
arr = np.ones((100, 1), dtype=np.int64)
assert kernel_width(arr) == 1

0 comments on commit 628b7b2

Please sign in to comment.