Remove test logging.
GitOrigin-RevId: c2e96f762d669b04238f101398cb53926a90ec08
This commit is contained in:
parent
73996c6efe
commit
61a4f2a671
@ -228,7 +228,8 @@ template <template <class> class RawSet>
|
||||
static void test_speed() {
|
||||
Random::Xorshift128plus rnd(123);
|
||||
using Set = CheckedSetWithPosition<int, RawSet>;
|
||||
std::vector<unique_ptr<Set>> sets(1 << 13);
|
||||
constexpr size_t total_size = 1 << 13;
|
||||
std::vector<unique_ptr<Set>> sets(total_size);
|
||||
for (size_t i = 0; i < sets.size(); i++) {
|
||||
sets[i] = make_unique<Set>();
|
||||
sets[i]->add(int(i));
|
||||
@ -240,7 +241,7 @@ static void test_speed() {
|
||||
sets[i]->merge(std::move(*sets[j]));
|
||||
}
|
||||
}
|
||||
LOG(ERROR) << sets[0]->size();
|
||||
ASSERT_EQ(total_size, sets[0]->size());
|
||||
}
|
||||
|
||||
TEST(SetWithPosition, hands) {
|
||||
|
Reference in New Issue
Block a user