From a0811dc0c4d3402bc9df9f85151db82deaf5bbf7 Mon Sep 17 00:00:00 2001 From: Emily Boudreaux Date: Thu, 20 Feb 2025 15:28:30 -0500 Subject: [PATCH] test(tests/poly): poly solver test added test for the polytropic solver (which is also being used to validate and confirm it works) --- tests/poly/polyTest.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/poly/polyTest.cpp b/tests/poly/polyTest.cpp index 250913d..e148eba 100644 --- a/tests/poly/polyTest.cpp +++ b/tests/poly/polyTest.cpp @@ -6,4 +6,9 @@ class polyTest : public ::testing::Test {}; TEST_F(polyTest, DefaultConstructor) { EXPECT_NO_THROW(PolySolver(1, 1)); +} + +TEST_F(polyTest, Solve) { + PolySolver polytrope(1.5, 1); + EXPECT_NO_THROW(polytrope.solve()); } \ No newline at end of file