MCPcopy Create free account
hub / github.com/DragonJoker/RenderGraph / diffLines

Method diffLines

test/BaseTest.cpp:277–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275 }
276
277 std::string TestCounts::diffLines( std::string const & check
278 , std::string const & ref )
279 {
280 auto checkLines = splitInLines( check );
281 auto refLines = splitInLines( ref );
282 std::string result;
283 result += findMissing( checkLines, refLines, "+" );
284 result += findMissing( refLines, checkLines, "-" );
285 return result;
286 }
287
288 //*********************************************************************************************
289

Callers

nothing calls this directly

Calls 2

splitInLinesFunction · 0.85
findMissingFunction · 0.85

Tested by

no test coverage detected