MCPcopy Create free account
hub / github.com/SergeyMakeev/SlotMap / testFunction

Function testFunction

SlotMapTest01.cpp:290–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290void testFunction(dod::slot_map<std::string>::key k, const dod::slot_map<std::string>& slotMap)
291{
292 const std::string* v = slotMap.get(k);
293 ASSERT_NE(v, nullptr);
294 EXPECT_STREQ(v->c_str(), "test");
295}
296
297TEST(SlotMapTest, ConstantGetter)
298{

Callers 1

TESTFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected