Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Nghia Truong <[email protected]>
  • Loading branch information
ttnghia committed Feb 28, 2024
1 parent bcc278c commit 859454a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/tests/transform/row_bit_count_test.cu
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ TEST_F(RowBitCount, Table)

// Test when num_rows % segment_length == 0
{
auto constexpr segment_length = 4;
auto const segment_length = 3;
EXPECT_EQ(t.num_rows() % segment_length, 0);
auto const result_segment_sizes = cudf::segmented_bit_count(t, segment_length);
auto const expected_segment_sizes = accumulate_row_sizes(*result, segment_length);
Expand All @@ -743,7 +743,7 @@ TEST_F(RowBitCount, Table)

// Test when num_rows % segment_length != 0
{
auto constexpr segment_length = 5;
auto constexpr segment_length = 4;
EXPECT_NE(t.num_rows() % segment_length, 0);
auto const result_segment_sizes = cudf::segmented_bit_count(t, segment_length);
auto const expected_segment_sizes = accumulate_row_sizes(*result, segment_length);
Expand Down

0 comments on commit 859454a

Please sign in to comment.