diff --git a/cpp/tests/join/quadtree_point_in_polygon_test_large.cu b/cpp/tests/join/quadtree_point_in_polygon_test_large.cu index 1be866afc..8776a4afc 100644 --- a/cpp/tests/join/quadtree_point_in_polygon_test_large.cu +++ b/cpp/tests/join/quadtree_point_in_polygon_test_large.cu @@ -159,10 +159,13 @@ TYPED_TEST(PIPRefineTestLarge, TestLarge) quadtree, point_indices.begin(), point_indices.end(), - points.begin(), + points_in.begin(), multipolygons, this->stream()); + EXPECT_GT(actual_point_indices.size(), 0); + EXPECT_GT(actual_poly_indices.size(), 0); + thrust::stable_sort_by_key(rmm::exec_policy(this->stream()), actual_point_indices.begin(), actual_point_indices.end(), @@ -208,6 +211,9 @@ TYPED_TEST(PIPRefineTestLarge, TestLarge) auto d_expected_poly_indices = rmm::device_vector(expected_poly_indices); auto d_expected_point_indices = rmm::device_vector(expected_point_indices); + EXPECT_GT(d_expected_poly_indices.size(), 0); + EXPECT_GT(d_expected_point_indices.size(), 0); + thrust::stable_sort_by_key(rmm::exec_policy(this->stream()), d_expected_point_indices.begin(), d_expected_point_indices.end(),