Commit d9138290 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

worked on tests

parent 5ab44cf9
......@@ -25,15 +25,24 @@ protected:
mainProgram = std::make_unique<MainProgram>();
mainProgram->Initialize();
}
void TearDown() {
system("rm -rf data/vtk/*");
}
};
INSTANTIATE_TEST_CASE_P(TestMainProgram, TestMainProgram, Values(
// Tests with default elliptic config
// ConfigMapsForTest{defaultEllipticConfigMap,
// std::map<std::string, std::string>{}},
ConfigMapsForTest{defaultEllipticConfigMap,
std::map<std::string, std::string>{
{"GeneratorPlotting", "0"}, // Todo
{"MCPlotting", "0"}}},
ConfigMapsForTest{defaultEllipticConfigMap,
std::map<std::string, std::string>{
{"GeneratorPlotting", "0"},
{"MCPlotting", "0"},
{"Problem", "StochasticLaplace2D"}}}
// // Tests with default transport config
......
......@@ -7,8 +7,7 @@ protected:
shared_ptr<Meshes> meshes;
void SetUp() override {
meshes = make_shared<Meshes>("UnitSquare", 0, 4);
meshes = make_shared<Meshes>("UnitSquare", 1, 4);
plotter = make_shared<MultilevelPlotter>(*meshes);
// Refactor
......
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