Commit 1980b1a6 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

added pde solver test

parent e16c7346
......@@ -44,8 +44,6 @@ protected:
std::filesystem::remove_all("data/vtk/");
std::filesystem::create_directory("data/vtk/");
// Todo use googletest number as m!
// better, use testSample container and implement container idea
id = SampleID(4, 0, false);
meshes = MeshesCreator(meshName).
......@@ -148,17 +146,17 @@ INSTANTIATE_TEST_SUITE_P(TestPDESolver, TestLaplace2D, Values(
// EXPECT_NEAR(solution.Q, GetParam().Q, PDESOLVER_TEST_TOLERANCE);
//}
//class TestTransport2D : public TestPDESolver {
//public:
// TestTransport2D() : TestPDESolver("Square") {};
//};
//
//INSTANTIATE_TEST_SUITE_P(TestPDESolver, TestTransport2D, Values(
//// TestParams{"DGTransport", "Pollution2D", "Mass", 1.0}
//// TestParams{"DGTransport", "PollutionCosHat2D", "Mass", 1.0},
// TestParams{"DGTransport", "GaussHat2D", "Mass", 1.0}
//));
//
class TestTransport2D : public TestPDESolver {
public:
TestTransport2D() : TestPDESolver("Square") {};
};
INSTANTIATE_TEST_SUITE_P(TestPDESolver, TestTransport2D, Values(
// TestParams{"DGTransport", "Pollution2D", "Mass", 1.0}
// TestParams{"DGTransport", "PollutionCosHat2D", "Mass", 1.0},
TestParams{"DGTransport", "GaussHat2D", "Mass", 1.0}
));
//TEST_P(TestTransport2D, TestInitialValue) {
//// SampleSolution solution(pdeSolver->MGraphs(), id);
//// pdeSolver->Run(solution);
......
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