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

Function findMissing

test/BaseTest.cpp:176–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174 }
175
176 std::string findMissing( StringArray const & lhsLines
177 , StringArray const & rhsLines
178 , std::string_view const & op )
179 {
180 std::string result;
181
182 for ( auto & lhsLine : lhsLines )
183 {
184 if ( rhsLines.end() == std::find( rhsLines.begin()
185 , rhsLines.end()
186 , lhsLine ) )
187 {
188 result += std::string{ op } + lhsLine + "\n";
189 }
190 }
191
192 return result;
193 }
194 }
195
196 //*********************************************************************************************

Callers 1

diffLinesMethod · 0.85

Calls 2

beginMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected