Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling committed Aug 22, 2024
1 parent 596a169 commit da536a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/bitvec_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ unsigned long get_random_number() { // period 2^96-1
return z;
}

#if __has_cpp_attribute(__cpp_lib_atomic_ref)
TEST_CASE("bitvec atomic set") {
constexpr auto const kBits = 100'000U;
constexpr auto const kWorkers = 100U;
Expand Down Expand Up @@ -133,6 +134,7 @@ TEST_CASE("bitvec atomic set") {

CHECK(b.count() == kBits);
}
#endif

TEST_CASE("bitvec parallel") {
constexpr auto const kBits = 1'000'000U;
Expand Down

0 comments on commit da536a6

Please sign in to comment.