diff --git a/tests/poly/polyTest.cpp b/tests/poly/polyTest.cpp index 069d99b..3d4a11d 100644 --- a/tests/poly/polyTest.cpp +++ b/tests/poly/polyTest.cpp @@ -12,13 +12,15 @@ std::string CONFIG_FILENAME = std::string(getenv("MESON_SOURCE_ROOT")) + "/tests class polyTest : public ::testing::Test {}; TEST_F(polyTest, DefaultConstructor) { + Config& config = Config::getInstance(); + config.loadConfig(CONFIG_FILENAME); EXPECT_NO_THROW(PolySolver(1, 1)); } TEST_F(polyTest, Solve) { Config& config = Config::getInstance(); config.loadConfig(CONFIG_FILENAME); - PolySolver polytrope(1.5, 1); + PolySolver polytrope(1, 1); EXPECT_NO_THROW(polytrope.solve()); Probe::LogManager& logManager = Probe::LogManager::getInstance(); quill::Logger* logger = logManager.newFileLogger("polyTest.log", "polyTest"); @@ -34,5 +36,5 @@ TEST_F(polyTest, Solve) { // Get the ray solution const std::vector rayDirection = {0, 0}; int numSamples = 10; - std::vector samples = Probe::getRaySolution(solution, mesh, rayDirection, numSamples); + // std::vector samples = Probe::getRaySolution(solution, mesh, rayDirection, numSamples); } \ No newline at end of file