diff --git a/test/stats/test_knn_distance.py b/test/stats/test_knn_distance.py index 32412591..3a174776 100644 --- a/test/stats/test_knn_distance.py +++ b/test/stats/test_knn_distance.py @@ -18,3 +18,4 @@ def test_find_k_nearest_neighbors_default(): result = find_k_nearest_neighbors(point, points_array, k) assert isinstance(result, np.ndarray) is True + assert result.ndim == 3 # check dimension numpy.array -> 3D