@@ -2497,27 +2497,27 @@ void CountRangeTest()
2497
2497
bvect::rs_index_type bc_arr;
2498
2498
bv1.build_rs_index(&bc_arr);
2499
2499
assert(bc_arr.count() == 2);
2500
-
2500
+
2501
2501
assert(bc_arr.rcount(bm::set_total_blocks-1) == 2);
2502
2502
for (bvect::size_type i = 0; i < bm::set_total_blocks-1; ++i)
2503
2503
{
2504
2504
assert(bc_arr.rcount(i) == 0);
2505
2505
} // for
2506
-
2506
+
2507
2507
VerifyCountRange(bv1, bc_arr, 0, 200000);
2508
2508
2509
2509
bv1.optimize();
2510
2510
bvect::rs_index_type bc_arr1;
2511
2511
bv1.build_rs_index(&bc_arr1);
2512
-
2512
+
2513
2513
assert(bc_arr.rcount(bm::set_total_blocks-1) == 2);
2514
2514
for (bvect::size_type i = 0; i < bm::set_total_blocks-1; ++i)
2515
2515
{
2516
2516
assert(bc_arr1.rcount(i) == 0);
2517
2517
} // for
2518
-
2518
+
2519
2519
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);
2521
2521
}}
2522
2522
2523
2523
cout << "Stage 2" << endl;
@@ -19838,6 +19838,7 @@ int main(int argc, char *argv[])
19838
19838
19839
19839
if (is_all || is_bvbasic)
19840
19840
{
19841
+
19841
19842
SyntaxTest();
19842
19843
CheckAllocLeaks(false);
19843
19844
0 commit comments