Commit 8732d315 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

namespace for filesystem

parent 82774e4a
Pipeline #117769 passed with stages
in 6 minutes and 18 seconds
#include "montecarlo/PDESolver.hpp"
#include "TestEnvironment.hpp"
//#include <experimental/filesystem>
//namespace fs = std::experimental::filesystem::v1;
#include <filesystem>
namespace fs = std::filesystem;
class TestPlotMap : public Test {
......@@ -42,8 +46,8 @@ TEST_F(TestPlotMap2D, TestPlotMap) {
SampleSolution solution(mGraphs, dummyIDs.back());
solution.U = 0.0;
plotMap.VtkPlot(solution, 1, "VertexData");
ASSERT_TRUE(std::filesystem::exists(plotMap.currentFile));
std::filesystem::remove_all(plotMap.currentDir);
ASSERT_TRUE(fs::exists(plotMap.currentFile));
fs::remove_all(plotMap.currentDir);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment