Skip to content

Commit

Permalink
add test (check dimension) from test_knn_distance.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mdupaysign committed Jul 15, 2024
1 parent 6b6dec0 commit ac84533
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/stats/test_knn_distance.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ac84533

Please sign in to comment.