MCPcopy Create free account
hub / github.com/SergeyMakeev/ExcaliburHash / makeHashTable

Function makeHashTable

ExcaliburHashTest03.cpp:393–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393static Excalibur::HashTable<int, int> makeHashTable(int numElements)
394{
395 Excalibur::HashTable<int, int> ht;
396 EXPECT_TRUE(ht.empty());
397 for (int i = 0; i < numElements; i++)
398 {
399 ht.emplace(i, i);
400 }
401 EXPECT_EQ(ht.size(), uint32_t(numElements));
402 return ht;
403}
404
405TEST(SmFlatHashMap, MoveEdgeCases)
406{

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected