Skip to content

Commit

Permalink
fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn authored and hoffmang9 committed Jan 27, 2021
1 parent 3286f60 commit 2b363e9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -880,10 +880,10 @@ TEST_CASE("bitfield_index edge-cases")
CHECK(idx.lookup(bitfield_index::kIndexBucket, 0) == std::pair<uint64_t, uint64_t>{1,0});
CHECK(idx.lookup(bitfield_index::kIndexBucket, bitfield_index::kIndexBucket) == std::pair<uint64_t, uint64_t>{1,1});
CHECK(idx.lookup(bitfield_index::kIndexBucket, 1048576 - 1 - bitfield_index::kIndexBucket)
== std::pair<uint64_t, uint64_t>{1,2});
== std::pair<uint64_t, uint64_t>{1,2});

CHECK(idx.lookup(bitfield_index::kIndexBucket * 2, 1048576 - 1 - bitfield_index::kIndexBucket * 2)
== std::pair<uint64_t, uint64_t>{2,1});
CHECK(idx.lookup(bitfield_index::kIndexBucket * 2, 1048576 - 1 - bitfield_index::kIndexBucket * 2)
== std::pair<uint64_t, uint64_t>{2,1});
CHECK(idx.lookup(1048576 - 1, 0) == std::pair<uint64_t, uint64_t>{3,0});
}

Expand All @@ -900,7 +900,7 @@ void test_bitfield_size(int const size)

TEST_CASE("bitfield_index edge-sizes")
{
test_bitfield_size(bitfield_index::kIndexBucket - 1);
test_bitfield_size(bitfield_index::kIndexBucket);
test_bitfield_size(bitfield_index::kIndexBucket + 1);
test_bitfield_size(bitfield_index::kIndexBucket - 1);
test_bitfield_size(bitfield_index::kIndexBucket);
test_bitfield_size(bitfield_index::kIndexBucket + 1);
}

0 comments on commit 2b363e9

Please sign in to comment.