MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / MakeTestFiles

Function MakeTestFiles

UnitTest/UnitTest.cpp:380–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378 static inline std::string DestFolder = R"(D:\dest has space\)";
379
380 static void MakeTestFiles(int count = 2)
381 {
382 for (int i = 0; i < count; ++i)
383 {
384 auto const fileName = i == 0 ?
385 std::format("{}testFile.txt", SourceFolder) :
386 std::format("{}testFile{}.txt", SourceFolder, i);
387
388 std::ofstream{ fileName };
389 }
390 }
391
392 static void MakeTestFolders(int count = 2)
393 {

Callers 1

TEST_CLASSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected