MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / getEntityDifference

Function getEntityDifference

test/MapMerging.cpp:281–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281inline ComparisonResult::EntityDifference getEntityDifference(const ComparisonResult::Ptr& result, const std::string& name)
282{
283 for (const auto& difference : result->differingEntities)
284 {
285 if (difference.entityName == name)
286 {
287 return difference;
288 }
289 }
290
291 return ComparisonResult::EntityDifference();
292}
293
294TEST_F(MapMergeTest, DetectMissingEntities)
295{

Callers 1

TEST_FFunction · 0.85

Calls 1

EntityDifferenceClass · 0.85

Tested by

no test coverage detected