Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tlk00 committed May 3, 2023
1 parent 2a1eb34 commit ba63055
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/stress64/t64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15422,7 +15422,7 @@ void TestCompressSparseVector()
{
auto v = csv1.get(i0);
assert(v == i0*2);
unsigned N_bits = rand()%32;
unsigned N_bits = (unsigned)rand()%32;
if (N_bits)
{
unsigned u = csv1.get_unsigned_bits(i0, N_bits);
Expand Down Expand Up @@ -15471,7 +15471,7 @@ void TestCompressSparseVector()
unsigned v = csv[pr.first];
assert(v == pr.second);

unsigned N_bits = rand()%32;
unsigned N_bits = (unsigned)rand()%32;
if (N_bits)
{
unsigned u = csv.get_unsigned_bits(pr.first, N_bits);
Expand Down Expand Up @@ -19731,7 +19731,7 @@ int parse_args(int argc, char *argv[])
#define BM_EXPAND(x) x ## 1
#define EXPAND(x) BM_EXPAND(x)

static
inline
void test_kmers()
{

Expand Down Expand Up @@ -19769,7 +19769,7 @@ return;

{

chrono_taker<std::ostream> ct(cerr, "bv import");
//chrono_taker<std::ostream> ct(cerr, "bv import");
bv.import(test_kmers.data(), test_kmers.size(), bm::BM_SORTED);

}
Expand Down Expand Up @@ -19813,13 +19813,13 @@ int main(int argc, char *argv[])
{
time_t start_time = time(0);
time_t finish_time;

/*
{
chrono_taker<std::ostream> ct(cerr, "k-mer test");
test_kmers();
}
return 0;

*/
#if !defined(BM_ASSERT) || (EXPAND(BM_ASSERT) == 1)
cerr << "Build error: Test build with undefined BM_ASSERT" << endl;
exit(1);
Expand Down

0 comments on commit ba63055

Please sign in to comment.