Skip to content

Commit 23741cd

Browse files
committed
fixed minor issue in the test case
1 parent 6f54020 commit 23741cd

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/stress64/t64.cpp

+6-5
Original file line numberDiff line numberDiff line change
@@ -2497,27 +2497,27 @@ void CountRangeTest()
24972497
bvect::rs_index_type bc_arr;
24982498
bv1.build_rs_index(&bc_arr);
24992499
assert(bc_arr.count() == 2);
2500-
2500+
25012501
assert(bc_arr.rcount(bm::set_total_blocks-1) == 2);
25022502
for (bvect::size_type i = 0; i < bm::set_total_blocks-1; ++i)
25032503
{
25042504
assert(bc_arr.rcount(i) == 0);
25052505
} // for
2506-
2506+
25072507
VerifyCountRange(bv1, bc_arr, 0, 200000);
25082508

25092509
bv1.optimize();
25102510
bvect::rs_index_type bc_arr1;
25112511
bv1.build_rs_index(&bc_arr1);
2512-
2512+
25132513
assert(bc_arr.rcount(bm::set_total_blocks-1) == 2);
25142514
for (bvect::size_type i = 0; i < bm::set_total_blocks-1; ++i)
25152515
{
25162516
assert(bc_arr1.rcount(i) == 0);
25172517
} // for
2518-
2518+
25192519
VerifyCountRange(bv1, bc_arr1, 0, 200000);
2520-
VerifyCountRange(bv1, bc_arr, bm::id_max-2000, bm::id_max-1);
2520+
VerifyCountRange(bv1, bc_arr1, bm::id_max-2000, bm::id_max-1);
25212521
}}
25222522

25232523
cout << "Stage 2" << endl;
@@ -19838,6 +19838,7 @@ int main(int argc, char *argv[])
1983819838

1983919839
if (is_all || is_bvbasic)
1984019840
{
19841+
1984119842
SyntaxTest();
1984219843
CheckAllocLeaks(false);
1984319844

0 commit comments

Comments
 (0)