MCPcopy Create free account
hub / github.com/baidu/babylon / TEST

Function TEST

test/concurrent/test_transient_hash_table.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10using ::babylon::ConcurrentTransientHashSet;
11
12TEST(fixed_swiss_table, default_constructible) {
13 ConcurrentFixedSwissTable<::std::string> table;
14 ASSERT_LT(0, table.bucket_count());
15 ASSERT_EQ(0, table.size());
16 ASSERT_TRUE(table.empty());
17}
18
19TEST(fixed_swiss_table, default_constructed_table_full_and_also_empty) {
20 ConcurrentFixedSwissTable<::std::string> table;

Callers

nothing calls this directly

Calls 14

bucket_countMethod · 0.80
findMethod · 0.80
rehashMethod · 0.80
emplace_backMethod · 0.80
try_emplaceMethod · 0.80
sizeMethod · 0.45
emptyMethod · 0.45
emplaceMethod · 0.45
endMethod · 0.45
clearMethod · 0.45
reserveMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected