diff --git a/tests/unit_tests/toporder/test_utils.py b/tests/unit_tests/toporder/test_utils.py index 40aaca29..c3e04312 100644 --- a/tests/unit_tests/toporder/test_utils.py +++ b/tests/unit_tests/toporder/test_utils.py @@ -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