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

Function splitInLines

test/BaseTest.cpp:262–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 //*********************************************************************************************
261
262 StringArray splitInLines( std::string const & value )
263 {
264 StringArray lines;
265 std::stringstream iss( value );
266
267 while ( iss.good() )
268 {
269 std::string line;
270 std::getline( iss, line );
271 lines.push_back( line );
272 }
273
274 return lines;
275 }
276
277 std::string TestCounts::diffLines( std::string const & check
278 , std::string const & ref )

Callers 1

diffLinesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected