Skip to content

Commit

Permalink
Test.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Apr 13, 2020
1 parent 05db4b8 commit f4a96c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/apps/TileTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ void checkFile(int i, int j, int lines, double xoff = 0, double yoff = 0)
std::string header;
std::string t(Support::temppath("tile/out" +
std::to_string(i) + "_" + std::to_string(j) + ".txt"));
std::cerr << "File = " << t << "!\n";
std::ifstream in(t);
std::getline(in, header);

Expand Down Expand Up @@ -127,6 +128,7 @@ TEST(Tile, test2)
auto files = FileUtils::directoryList(Support::temppath("tile"));
for (auto f : files)
std::cerr << "File = " << f << "!\n";
checkFile(-1, 0, 3, 500000, 5000000);
for (int i = 0; i < 3; ++i)
for (int j = 0; j < 3; ++j)
checkFile(i, j, 3, 500000, 5000000);
Expand Down

0 comments on commit f4a96c2

Please sign in to comment.